oci.DataSafe.SecurityPolicyConfig
Explore with Pulumi AI
This resource provides the Security Policy Config resource in Oracle Cloud Infrastructure Data Safe service.
Creates a new security policy configuration resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSecurityPolicyConfig = new oci.datasafe.SecurityPolicyConfig("test_security_policy_config", {
compartmentId: compartmentId,
securityPolicyId: testSecurityPolicy.id,
definedTags: {
"Operations.CostCenter": "42",
},
description: securityPolicyConfigDescription,
displayName: securityPolicyConfigDisplayName,
firewallConfig: {
excludeJob: securityPolicyConfigFirewallConfigExcludeJob,
status: securityPolicyConfigFirewallConfigStatus,
violationLogAutoPurge: securityPolicyConfigFirewallConfigViolationLogAutoPurge,
},
freeformTags: {
Department: "Finance",
},
unifiedAuditPolicyConfig: {
excludeDatasafeUser: securityPolicyConfigUnifiedAuditPolicyConfigExcludeDatasafeUser,
},
});
import pulumi
import pulumi_oci as oci
test_security_policy_config = oci.datasafe.SecurityPolicyConfig("test_security_policy_config",
compartment_id=compartment_id,
security_policy_id=test_security_policy["id"],
defined_tags={
"Operations.CostCenter": "42",
},
description=security_policy_config_description,
display_name=security_policy_config_display_name,
firewall_config={
"exclude_job": security_policy_config_firewall_config_exclude_job,
"status": security_policy_config_firewall_config_status,
"violation_log_auto_purge": security_policy_config_firewall_config_violation_log_auto_purge,
},
freeform_tags={
"Department": "Finance",
},
unified_audit_policy_config={
"exclude_datasafe_user": security_policy_config_unified_audit_policy_config_exclude_datasafe_user,
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.NewSecurityPolicyConfig(ctx, "test_security_policy_config", &datasafe.SecurityPolicyConfigArgs{
CompartmentId: pulumi.Any(compartmentId),
SecurityPolicyId: pulumi.Any(testSecurityPolicy.Id),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(securityPolicyConfigDescription),
DisplayName: pulumi.Any(securityPolicyConfigDisplayName),
FirewallConfig: &datasafe.SecurityPolicyConfigFirewallConfigArgs{
ExcludeJob: pulumi.Any(securityPolicyConfigFirewallConfigExcludeJob),
Status: pulumi.Any(securityPolicyConfigFirewallConfigStatus),
ViolationLogAutoPurge: pulumi.Any(securityPolicyConfigFirewallConfigViolationLogAutoPurge),
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
UnifiedAuditPolicyConfig: &datasafe.SecurityPolicyConfigUnifiedAuditPolicyConfigArgs{
ExcludeDatasafeUser: pulumi.Any(securityPolicyConfigUnifiedAuditPolicyConfigExcludeDatasafeUser),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testSecurityPolicyConfig = new Oci.DataSafe.SecurityPolicyConfig("test_security_policy_config", new()
{
CompartmentId = compartmentId,
SecurityPolicyId = testSecurityPolicy.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = securityPolicyConfigDescription,
DisplayName = securityPolicyConfigDisplayName,
FirewallConfig = new Oci.DataSafe.Inputs.SecurityPolicyConfigFirewallConfigArgs
{
ExcludeJob = securityPolicyConfigFirewallConfigExcludeJob,
Status = securityPolicyConfigFirewallConfigStatus,
ViolationLogAutoPurge = securityPolicyConfigFirewallConfigViolationLogAutoPurge,
},
FreeformTags =
{
{ "Department", "Finance" },
},
UnifiedAuditPolicyConfig = new Oci.DataSafe.Inputs.SecurityPolicyConfigUnifiedAuditPolicyConfigArgs
{
ExcludeDatasafeUser = securityPolicyConfigUnifiedAuditPolicyConfigExcludeDatasafeUser,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.SecurityPolicyConfig;
import com.pulumi.oci.DataSafe.SecurityPolicyConfigArgs;
import com.pulumi.oci.DataSafe.inputs.SecurityPolicyConfigFirewallConfigArgs;
import com.pulumi.oci.DataSafe.inputs.SecurityPolicyConfigUnifiedAuditPolicyConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testSecurityPolicyConfig = new SecurityPolicyConfig("testSecurityPolicyConfig", SecurityPolicyConfigArgs.builder()
.compartmentId(compartmentId)
.securityPolicyId(testSecurityPolicy.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(securityPolicyConfigDescription)
.displayName(securityPolicyConfigDisplayName)
.firewallConfig(SecurityPolicyConfigFirewallConfigArgs.builder()
.excludeJob(securityPolicyConfigFirewallConfigExcludeJob)
.status(securityPolicyConfigFirewallConfigStatus)
.violationLogAutoPurge(securityPolicyConfigFirewallConfigViolationLogAutoPurge)
.build())
.freeformTags(Map.of("Department", "Finance"))
.unifiedAuditPolicyConfig(SecurityPolicyConfigUnifiedAuditPolicyConfigArgs.builder()
.excludeDatasafeUser(securityPolicyConfigUnifiedAuditPolicyConfigExcludeDatasafeUser)
.build())
.build());
}
}
resources:
testSecurityPolicyConfig:
type: oci:DataSafe:SecurityPolicyConfig
name: test_security_policy_config
properties:
compartmentId: ${compartmentId}
securityPolicyId: ${testSecurityPolicy.id}
definedTags:
Operations.CostCenter: '42'
description: ${securityPolicyConfigDescription}
displayName: ${securityPolicyConfigDisplayName}
firewallConfig:
excludeJob: ${securityPolicyConfigFirewallConfigExcludeJob}
status: ${securityPolicyConfigFirewallConfigStatus}
violationLogAutoPurge: ${securityPolicyConfigFirewallConfigViolationLogAutoPurge}
freeformTags:
Department: Finance
unifiedAuditPolicyConfig:
excludeDatasafeUser: ${securityPolicyConfigUnifiedAuditPolicyConfigExcludeDatasafeUser}
Create SecurityPolicyConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityPolicyConfig(name: string, args: SecurityPolicyConfigArgs, opts?: CustomResourceOptions);
@overload
def SecurityPolicyConfig(resource_name: str,
args: SecurityPolicyConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityPolicyConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
security_policy_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
firewall_config: Optional[SecurityPolicyConfigFirewallConfigArgs] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
unified_audit_policy_config: Optional[SecurityPolicyConfigUnifiedAuditPolicyConfigArgs] = None)
func NewSecurityPolicyConfig(ctx *Context, name string, args SecurityPolicyConfigArgs, opts ...ResourceOption) (*SecurityPolicyConfig, error)
public SecurityPolicyConfig(string name, SecurityPolicyConfigArgs args, CustomResourceOptions? opts = null)
public SecurityPolicyConfig(String name, SecurityPolicyConfigArgs args)
public SecurityPolicyConfig(String name, SecurityPolicyConfigArgs args, CustomResourceOptions options)
type: oci:DataSafe:SecurityPolicyConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecurityPolicyConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecurityPolicyConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecurityPolicyConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityPolicyConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityPolicyConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var securityPolicyConfigResource = new Oci.DataSafe.SecurityPolicyConfig("securityPolicyConfigResource", new()
{
CompartmentId = "string",
SecurityPolicyId = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FirewallConfig = new Oci.DataSafe.Inputs.SecurityPolicyConfigFirewallConfigArgs
{
ExcludeJob = "string",
Status = "string",
TimeStatusUpdated = "string",
ViolationLogAutoPurge = "string",
},
FreeformTags =
{
{ "string", "string" },
},
UnifiedAuditPolicyConfig = new Oci.DataSafe.Inputs.SecurityPolicyConfigUnifiedAuditPolicyConfigArgs
{
ExcludeDatasafeUser = "string",
},
});
example, err := datasafe.NewSecurityPolicyConfig(ctx, "securityPolicyConfigResource", &datasafe.SecurityPolicyConfigArgs{
CompartmentId: pulumi.String("string"),
SecurityPolicyId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FirewallConfig: &datasafe.SecurityPolicyConfigFirewallConfigArgs{
ExcludeJob: pulumi.String("string"),
Status: pulumi.String("string"),
TimeStatusUpdated: pulumi.String("string"),
ViolationLogAutoPurge: pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
UnifiedAuditPolicyConfig: &datasafe.SecurityPolicyConfigUnifiedAuditPolicyConfigArgs{
ExcludeDatasafeUser: pulumi.String("string"),
},
})
var securityPolicyConfigResource = new SecurityPolicyConfig("securityPolicyConfigResource", SecurityPolicyConfigArgs.builder()
.compartmentId("string")
.securityPolicyId("string")
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.firewallConfig(SecurityPolicyConfigFirewallConfigArgs.builder()
.excludeJob("string")
.status("string")
.timeStatusUpdated("string")
.violationLogAutoPurge("string")
.build())
.freeformTags(Map.of("string", "string"))
.unifiedAuditPolicyConfig(SecurityPolicyConfigUnifiedAuditPolicyConfigArgs.builder()
.excludeDatasafeUser("string")
.build())
.build());
security_policy_config_resource = oci.datasafe.SecurityPolicyConfig("securityPolicyConfigResource",
compartment_id="string",
security_policy_id="string",
defined_tags={
"string": "string",
},
description="string",
display_name="string",
firewall_config={
"exclude_job": "string",
"status": "string",
"time_status_updated": "string",
"violation_log_auto_purge": "string",
},
freeform_tags={
"string": "string",
},
unified_audit_policy_config={
"exclude_datasafe_user": "string",
})
const securityPolicyConfigResource = new oci.datasafe.SecurityPolicyConfig("securityPolicyConfigResource", {
compartmentId: "string",
securityPolicyId: "string",
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
firewallConfig: {
excludeJob: "string",
status: "string",
timeStatusUpdated: "string",
violationLogAutoPurge: "string",
},
freeformTags: {
string: "string",
},
unifiedAuditPolicyConfig: {
excludeDatasafeUser: "string",
},
});
type: oci:DataSafe:SecurityPolicyConfig
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
firewallConfig:
excludeJob: string
status: string
timeStatusUpdated: string
violationLogAutoPurge: string
freeformTags:
string: string
securityPolicyId: string
unifiedAuditPolicyConfig:
excludeDatasafeUser: string
SecurityPolicyConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecurityPolicyConfig resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment containing the security policy configuration.
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy configuration.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- Firewall
Config SecurityPolicy Config Firewall Config - (Updatable) Details to update the SQL Firewall configuration.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config - (Updatable) The unified audit policy related configurations.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the security policy configuration.
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy configuration.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- Firewall
Config SecurityPolicy Config Firewall Config Args - (Updatable) Details to update the SQL Firewall configuration.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config Args - (Updatable) The unified audit policy related configurations.
- compartment
Id String - (Updatable) The OCID of the compartment containing the security policy configuration.
- security
Policy StringId - The OCID of the security policy corresponding to the security policy configuration.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall
Config SecurityPolicy Config Firewall Config - (Updatable) Details to update the SQL Firewall configuration.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config - (Updatable) The unified audit policy related configurations.
- compartment
Id string - (Updatable) The OCID of the compartment containing the security policy configuration.
- security
Policy stringId - The OCID of the security policy corresponding to the security policy configuration.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- (Updatable) The description of the security policy.
- display
Name string - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall
Config SecurityPolicy Config Firewall Config - (Updatable) Details to update the SQL Firewall configuration.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config - (Updatable) The unified audit policy related configurations.
- compartment_
id str - (Updatable) The OCID of the compartment containing the security policy configuration.
- security_
policy_ strid - The OCID of the security policy corresponding to the security policy configuration.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- (Updatable) The description of the security policy.
- display_
name str - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall_
config SecurityPolicy Config Firewall Config Args - (Updatable) Details to update the SQL Firewall configuration.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- unified_
audit_ Securitypolicy_ config Policy Config Unified Audit Policy Config Args - (Updatable) The unified audit policy related configurations.
- compartment
Id String - (Updatable) The OCID of the compartment containing the security policy configuration.
- security
Policy StringId - The OCID of the security policy corresponding to the security policy configuration.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall
Config Property Map - (Updatable) Details to update the SQL Firewall configuration.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- unified
Audit Property MapPolicy Config - (Updatable) The unified audit policy related configurations.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityPolicyConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the current state of the security policy configuration.
- State string
- The current state of the security policy configuration.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the security policy configuration was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the current state of the security policy configuration.
- State string
- The current state of the security policy configuration.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the security policy configuration was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the current state of the security policy configuration.
- state String
- The current state of the security policy configuration.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the security policy configuration was created, in the format defined by RFC3339.
- time
Updated String - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Details about the current state of the security policy configuration.
- state string
- The current state of the security policy configuration.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the security policy configuration was created, in the format defined by RFC3339.
- time
Updated string - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - Details about the current state of the security policy configuration.
- state str
- The current state of the security policy configuration.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the security policy configuration was created, in the format defined by RFC3339.
- time_
updated str - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the current state of the security policy configuration.
- state String
- The current state of the security policy configuration.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the security policy configuration was created, in the format defined by RFC3339.
- time
Updated String - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
Look up Existing SecurityPolicyConfig Resource
Get an existing SecurityPolicyConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecurityPolicyConfigState, opts?: CustomResourceOptions): SecurityPolicyConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
firewall_config: Optional[SecurityPolicyConfigFirewallConfigArgs] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
security_policy_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
unified_audit_policy_config: Optional[SecurityPolicyConfigUnifiedAuditPolicyConfigArgs] = None) -> SecurityPolicyConfig
func GetSecurityPolicyConfig(ctx *Context, name string, id IDInput, state *SecurityPolicyConfigState, opts ...ResourceOption) (*SecurityPolicyConfig, error)
public static SecurityPolicyConfig Get(string name, Input<string> id, SecurityPolicyConfigState? state, CustomResourceOptions? opts = null)
public static SecurityPolicyConfig get(String name, Output<String> id, SecurityPolicyConfigState state, CustomResourceOptions options)
resources: _: type: oci:DataSafe:SecurityPolicyConfig get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the security policy configuration.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- Firewall
Config SecurityPolicy Config Firewall Config - (Updatable) Details to update the SQL Firewall configuration.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Lifecycle
Details string - Details about the current state of the security policy configuration.
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy configuration.
- State string
- The current state of the security policy configuration.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the security policy configuration was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- Unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config - (Updatable) The unified audit policy related configurations.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the security policy configuration.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- Firewall
Config SecurityPolicy Config Firewall Config Args - (Updatable) Details to update the SQL Firewall configuration.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Lifecycle
Details string - Details about the current state of the security policy configuration.
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy configuration.
- State string
- The current state of the security policy configuration.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the security policy configuration was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- Unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config Args - (Updatable) The unified audit policy related configurations.
- compartment
Id String - (Updatable) The OCID of the compartment containing the security policy configuration.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall
Config SecurityPolicy Config Firewall Config - (Updatable) Details to update the SQL Firewall configuration.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- lifecycle
Details String - Details about the current state of the security policy configuration.
- security
Policy StringId - The OCID of the security policy corresponding to the security policy configuration.
- state String
- The current state of the security policy configuration.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the security policy configuration was created, in the format defined by RFC3339.
- time
Updated String - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config - (Updatable) The unified audit policy related configurations.
- compartment
Id string - (Updatable) The OCID of the compartment containing the security policy configuration.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- (Updatable) The description of the security policy.
- display
Name string - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall
Config SecurityPolicy Config Firewall Config - (Updatable) Details to update the SQL Firewall configuration.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- lifecycle
Details string - Details about the current state of the security policy configuration.
- security
Policy stringId - The OCID of the security policy corresponding to the security policy configuration.
- state string
- The current state of the security policy configuration.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the security policy configuration was created, in the format defined by RFC3339.
- time
Updated string - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- unified
Audit SecurityPolicy Config Policy Config Unified Audit Policy Config - (Updatable) The unified audit policy related configurations.
- compartment_
id str - (Updatable) The OCID of the compartment containing the security policy configuration.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- (Updatable) The description of the security policy.
- display_
name str - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall_
config SecurityPolicy Config Firewall Config Args - (Updatable) Details to update the SQL Firewall configuration.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- lifecycle_
details str - Details about the current state of the security policy configuration.
- security_
policy_ strid - The OCID of the security policy corresponding to the security policy configuration.
- state str
- The current state of the security policy configuration.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the security policy configuration was created, in the format defined by RFC3339.
- time_
updated str - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- unified_
audit_ Securitypolicy_ config Policy Config Unified Audit Policy Config Args - (Updatable) The unified audit policy related configurations.
- compartment
Id String - (Updatable) The OCID of the compartment containing the security policy configuration.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
- firewall
Config Property Map - (Updatable) Details to update the SQL Firewall configuration.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- lifecycle
Details String - Details about the current state of the security policy configuration.
- security
Policy StringId - The OCID of the security policy corresponding to the security policy configuration.
- state String
- The current state of the security policy configuration.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the security policy configuration was created, in the format defined by RFC3339.
- time
Updated String - The date and time the security policy configuration was last updated, in the format defined by RFC3339.
- unified
Audit Property MapPolicy Config - (Updatable) The unified audit policy related configurations.
Supporting Types
SecurityPolicyConfigFirewallConfig, SecurityPolicyConfigFirewallConfigArgs
- Exclude
Job string - (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
- Status string
- (Updatable) Specifies whether the firewall is enabled or disabled.
- Time
Status stringUpdated - The date and time the firewall configuration was last updated, in the format defined by RFC3339.
- Violation
Log stringAuto Purge - (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting them in Data Safe.
- Exclude
Job string - (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
- Status string
- (Updatable) Specifies whether the firewall is enabled or disabled.
- Time
Status stringUpdated - The date and time the firewall configuration was last updated, in the format defined by RFC3339.
- Violation
Log stringAuto Purge - (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting them in Data Safe.
- exclude
Job String - (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
- status String
- (Updatable) Specifies whether the firewall is enabled or disabled.
- time
Status StringUpdated - The date and time the firewall configuration was last updated, in the format defined by RFC3339.
- violation
Log StringAuto Purge - (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting them in Data Safe.
- exclude
Job string - (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
- status string
- (Updatable) Specifies whether the firewall is enabled or disabled.
- time
Status stringUpdated - The date and time the firewall configuration was last updated, in the format defined by RFC3339.
- violation
Log stringAuto Purge - (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting them in Data Safe.
- exclude_
job str - (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
- status str
- (Updatable) Specifies whether the firewall is enabled or disabled.
- time_
status_ strupdated - The date and time the firewall configuration was last updated, in the format defined by RFC3339.
- violation_
log_ strauto_ purge - (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting them in Data Safe.
- exclude
Job String - (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
- status String
- (Updatable) Specifies whether the firewall is enabled or disabled.
- time
Status StringUpdated - The date and time the firewall configuration was last updated, in the format defined by RFC3339.
- violation
Log StringAuto Purge - (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting them in Data Safe.
SecurityPolicyConfigUnifiedAuditPolicyConfig, SecurityPolicyConfigUnifiedAuditPolicyConfigArgs
- Exclude
Datasafe stringUser (Updatable) Specifies whether the Data Safe service account on the target database should be excluded in the unified audit policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Exclude
Datasafe stringUser (Updatable) Specifies whether the Data Safe service account on the target database should be excluded in the unified audit policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- exclude
Datasafe StringUser (Updatable) Specifies whether the Data Safe service account on the target database should be excluded in the unified audit policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- exclude
Datasafe stringUser (Updatable) Specifies whether the Data Safe service account on the target database should be excluded in the unified audit policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- exclude_
datasafe_ struser (Updatable) Specifies whether the Data Safe service account on the target database should be excluded in the unified audit policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- exclude
Datasafe StringUser (Updatable) Specifies whether the Data Safe service account on the target database should be excluded in the unified audit policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
SecurityPolicyConfigs can be imported using the id
, e.g.
$ pulumi import oci:DataSafe/securityPolicyConfig:SecurityPolicyConfig test_security_policy_config "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.