1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSecurityAssessmentSecurityFeatures
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DataSafe.getSecurityAssessmentSecurityFeatures

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides the list of Security Assessment Security Features in Oracle Cloud Infrastructure Data Safe service.

    Lists the usage of Database security features for a given compartment or a target level, based on the filters provided.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSecurityAssessmentSecurityFeatures = oci.DataSafe.getSecurityAssessmentSecurityFeatures({
        compartmentId: compartmentId,
        accessLevel: securityAssessmentSecurityFeatureAccessLevel,
        compartmentIdInSubtree: securityAssessmentSecurityFeatureCompartmentIdInSubtree,
        targetId: testTarget.id,
        targetsWithColumnEncryption: securityAssessmentSecurityFeatureTargetsWithColumnEncryption,
        targetsWithDatabaseVault: securityAssessmentSecurityFeatureTargetsWithDatabaseVault,
        targetsWithExternalAuthentication: securityAssessmentSecurityFeatureTargetsWithExternalAuthentication,
        targetsWithFineGrainedAudit: securityAssessmentSecurityFeatureTargetsWithFineGrainedAudit,
        targetsWithGlobalAuthentication: securityAssessmentSecurityFeatureTargetsWithGlobalAuthentication,
        targetsWithNetworkEncryption: securityAssessmentSecurityFeatureTargetsWithNetworkEncryption,
        targetsWithPasswordAuthentication: securityAssessmentSecurityFeatureTargetsWithPasswordAuthentication,
        targetsWithPrivilegeAnalysis: securityAssessmentSecurityFeatureTargetsWithPrivilegeAnalysis,
        targetsWithTablespaceEncryption: securityAssessmentSecurityFeatureTargetsWithTablespaceEncryption,
        targetsWithTraditionalAudit: securityAssessmentSecurityFeatureTargetsWithTraditionalAudit,
        targetsWithUnifiedAudit: securityAssessmentSecurityFeatureTargetsWithUnifiedAudit,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_security_assessment_security_features = oci.DataSafe.get_security_assessment_security_features(compartment_id=compartment_id,
        access_level=security_assessment_security_feature_access_level,
        compartment_id_in_subtree=security_assessment_security_feature_compartment_id_in_subtree,
        target_id=test_target["id"],
        targets_with_column_encryption=security_assessment_security_feature_targets_with_column_encryption,
        targets_with_database_vault=security_assessment_security_feature_targets_with_database_vault,
        targets_with_external_authentication=security_assessment_security_feature_targets_with_external_authentication,
        targets_with_fine_grained_audit=security_assessment_security_feature_targets_with_fine_grained_audit,
        targets_with_global_authentication=security_assessment_security_feature_targets_with_global_authentication,
        targets_with_network_encryption=security_assessment_security_feature_targets_with_network_encryption,
        targets_with_password_authentication=security_assessment_security_feature_targets_with_password_authentication,
        targets_with_privilege_analysis=security_assessment_security_feature_targets_with_privilege_analysis,
        targets_with_tablespace_encryption=security_assessment_security_feature_targets_with_tablespace_encryption,
        targets_with_traditional_audit=security_assessment_security_feature_targets_with_traditional_audit,
        targets_with_unified_audit=security_assessment_security_feature_targets_with_unified_audit)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetSecurityAssessmentSecurityFeatures(ctx, &datasafe.GetSecurityAssessmentSecurityFeaturesArgs{
    			CompartmentId:                     compartmentId,
    			AccessLevel:                       pulumi.StringRef(securityAssessmentSecurityFeatureAccessLevel),
    			CompartmentIdInSubtree:            pulumi.BoolRef(securityAssessmentSecurityFeatureCompartmentIdInSubtree),
    			TargetId:                          pulumi.StringRef(testTarget.Id),
    			TargetsWithColumnEncryption:       pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithColumnEncryption),
    			TargetsWithDatabaseVault:          pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithDatabaseVault),
    			TargetsWithExternalAuthentication: pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithExternalAuthentication),
    			TargetsWithFineGrainedAudit:       pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithFineGrainedAudit),
    			TargetsWithGlobalAuthentication:   pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithGlobalAuthentication),
    			TargetsWithNetworkEncryption:      pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithNetworkEncryption),
    			TargetsWithPasswordAuthentication: pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithPasswordAuthentication),
    			TargetsWithPrivilegeAnalysis:      pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithPrivilegeAnalysis),
    			TargetsWithTablespaceEncryption:   pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithTablespaceEncryption),
    			TargetsWithTraditionalAudit:       pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithTraditionalAudit),
    			TargetsWithUnifiedAudit:           pulumi.StringRef(securityAssessmentSecurityFeatureTargetsWithUnifiedAudit),
    		}, nil)
    		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 testSecurityAssessmentSecurityFeatures = Oci.DataSafe.GetSecurityAssessmentSecurityFeatures.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = securityAssessmentSecurityFeatureAccessLevel,
            CompartmentIdInSubtree = securityAssessmentSecurityFeatureCompartmentIdInSubtree,
            TargetId = testTarget.Id,
            TargetsWithColumnEncryption = securityAssessmentSecurityFeatureTargetsWithColumnEncryption,
            TargetsWithDatabaseVault = securityAssessmentSecurityFeatureTargetsWithDatabaseVault,
            TargetsWithExternalAuthentication = securityAssessmentSecurityFeatureTargetsWithExternalAuthentication,
            TargetsWithFineGrainedAudit = securityAssessmentSecurityFeatureTargetsWithFineGrainedAudit,
            TargetsWithGlobalAuthentication = securityAssessmentSecurityFeatureTargetsWithGlobalAuthentication,
            TargetsWithNetworkEncryption = securityAssessmentSecurityFeatureTargetsWithNetworkEncryption,
            TargetsWithPasswordAuthentication = securityAssessmentSecurityFeatureTargetsWithPasswordAuthentication,
            TargetsWithPrivilegeAnalysis = securityAssessmentSecurityFeatureTargetsWithPrivilegeAnalysis,
            TargetsWithTablespaceEncryption = securityAssessmentSecurityFeatureTargetsWithTablespaceEncryption,
            TargetsWithTraditionalAudit = securityAssessmentSecurityFeatureTargetsWithTraditionalAudit,
            TargetsWithUnifiedAudit = securityAssessmentSecurityFeatureTargetsWithUnifiedAudit,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetSecurityAssessmentSecurityFeaturesArgs;
    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) {
            final var testSecurityAssessmentSecurityFeatures = DataSafeFunctions.getSecurityAssessmentSecurityFeatures(GetSecurityAssessmentSecurityFeaturesArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(securityAssessmentSecurityFeatureAccessLevel)
                .compartmentIdInSubtree(securityAssessmentSecurityFeatureCompartmentIdInSubtree)
                .targetId(testTarget.id())
                .targetsWithColumnEncryption(securityAssessmentSecurityFeatureTargetsWithColumnEncryption)
                .targetsWithDatabaseVault(securityAssessmentSecurityFeatureTargetsWithDatabaseVault)
                .targetsWithExternalAuthentication(securityAssessmentSecurityFeatureTargetsWithExternalAuthentication)
                .targetsWithFineGrainedAudit(securityAssessmentSecurityFeatureTargetsWithFineGrainedAudit)
                .targetsWithGlobalAuthentication(securityAssessmentSecurityFeatureTargetsWithGlobalAuthentication)
                .targetsWithNetworkEncryption(securityAssessmentSecurityFeatureTargetsWithNetworkEncryption)
                .targetsWithPasswordAuthentication(securityAssessmentSecurityFeatureTargetsWithPasswordAuthentication)
                .targetsWithPrivilegeAnalysis(securityAssessmentSecurityFeatureTargetsWithPrivilegeAnalysis)
                .targetsWithTablespaceEncryption(securityAssessmentSecurityFeatureTargetsWithTablespaceEncryption)
                .targetsWithTraditionalAudit(securityAssessmentSecurityFeatureTargetsWithTraditionalAudit)
                .targetsWithUnifiedAudit(securityAssessmentSecurityFeatureTargetsWithUnifiedAudit)
                .build());
    
        }
    }
    
    variables:
      testSecurityAssessmentSecurityFeatures:
        fn::invoke:
          Function: oci:DataSafe:getSecurityAssessmentSecurityFeatures
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${securityAssessmentSecurityFeatureAccessLevel}
            compartmentIdInSubtree: ${securityAssessmentSecurityFeatureCompartmentIdInSubtree}
            targetId: ${testTarget.id}
            targetsWithColumnEncryption: ${securityAssessmentSecurityFeatureTargetsWithColumnEncryption}
            targetsWithDatabaseVault: ${securityAssessmentSecurityFeatureTargetsWithDatabaseVault}
            targetsWithExternalAuthentication: ${securityAssessmentSecurityFeatureTargetsWithExternalAuthentication}
            targetsWithFineGrainedAudit: ${securityAssessmentSecurityFeatureTargetsWithFineGrainedAudit}
            targetsWithGlobalAuthentication: ${securityAssessmentSecurityFeatureTargetsWithGlobalAuthentication}
            targetsWithNetworkEncryption: ${securityAssessmentSecurityFeatureTargetsWithNetworkEncryption}
            targetsWithPasswordAuthentication: ${securityAssessmentSecurityFeatureTargetsWithPasswordAuthentication}
            targetsWithPrivilegeAnalysis: ${securityAssessmentSecurityFeatureTargetsWithPrivilegeAnalysis}
            targetsWithTablespaceEncryption: ${securityAssessmentSecurityFeatureTargetsWithTablespaceEncryption}
            targetsWithTraditionalAudit: ${securityAssessmentSecurityFeatureTargetsWithTraditionalAudit}
            targetsWithUnifiedAudit: ${securityAssessmentSecurityFeatureTargetsWithUnifiedAudit}
    

    Using getSecurityAssessmentSecurityFeatures

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSecurityAssessmentSecurityFeatures(args: GetSecurityAssessmentSecurityFeaturesArgs, opts?: InvokeOptions): Promise<GetSecurityAssessmentSecurityFeaturesResult>
    function getSecurityAssessmentSecurityFeaturesOutput(args: GetSecurityAssessmentSecurityFeaturesOutputArgs, opts?: InvokeOptions): Output<GetSecurityAssessmentSecurityFeaturesResult>
    def get_security_assessment_security_features(access_level: Optional[str] = None,
                                                  compartment_id: Optional[str] = None,
                                                  compartment_id_in_subtree: Optional[bool] = None,
                                                  filters: Optional[Sequence[_datasafe.GetSecurityAssessmentSecurityFeaturesFilter]] = None,
                                                  target_id: Optional[str] = None,
                                                  targets_with_column_encryption: Optional[str] = None,
                                                  targets_with_database_vault: Optional[str] = None,
                                                  targets_with_external_authentication: Optional[str] = None,
                                                  targets_with_fine_grained_audit: Optional[str] = None,
                                                  targets_with_global_authentication: Optional[str] = None,
                                                  targets_with_network_encryption: Optional[str] = None,
                                                  targets_with_password_authentication: Optional[str] = None,
                                                  targets_with_privilege_analysis: Optional[str] = None,
                                                  targets_with_tablespace_encryption: Optional[str] = None,
                                                  targets_with_traditional_audit: Optional[str] = None,
                                                  targets_with_unified_audit: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetSecurityAssessmentSecurityFeaturesResult
    def get_security_assessment_security_features_output(access_level: Optional[pulumi.Input[str]] = None,
                                                  compartment_id: Optional[pulumi.Input[str]] = None,
                                                  compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetSecurityAssessmentSecurityFeaturesFilterArgs]]]] = None,
                                                  target_id: Optional[pulumi.Input[str]] = None,
                                                  targets_with_column_encryption: Optional[pulumi.Input[str]] = None,
                                                  targets_with_database_vault: Optional[pulumi.Input[str]] = None,
                                                  targets_with_external_authentication: Optional[pulumi.Input[str]] = None,
                                                  targets_with_fine_grained_audit: Optional[pulumi.Input[str]] = None,
                                                  targets_with_global_authentication: Optional[pulumi.Input[str]] = None,
                                                  targets_with_network_encryption: Optional[pulumi.Input[str]] = None,
                                                  targets_with_password_authentication: Optional[pulumi.Input[str]] = None,
                                                  targets_with_privilege_analysis: Optional[pulumi.Input[str]] = None,
                                                  targets_with_tablespace_encryption: Optional[pulumi.Input[str]] = None,
                                                  targets_with_traditional_audit: Optional[pulumi.Input[str]] = None,
                                                  targets_with_unified_audit: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetSecurityAssessmentSecurityFeaturesResult]
    func GetSecurityAssessmentSecurityFeatures(ctx *Context, args *GetSecurityAssessmentSecurityFeaturesArgs, opts ...InvokeOption) (*GetSecurityAssessmentSecurityFeaturesResult, error)
    func GetSecurityAssessmentSecurityFeaturesOutput(ctx *Context, args *GetSecurityAssessmentSecurityFeaturesOutputArgs, opts ...InvokeOption) GetSecurityAssessmentSecurityFeaturesResultOutput

    > Note: This function is named GetSecurityAssessmentSecurityFeatures in the Go SDK.

    public static class GetSecurityAssessmentSecurityFeatures 
    {
        public static Task<GetSecurityAssessmentSecurityFeaturesResult> InvokeAsync(GetSecurityAssessmentSecurityFeaturesArgs args, InvokeOptions? opts = null)
        public static Output<GetSecurityAssessmentSecurityFeaturesResult> Invoke(GetSecurityAssessmentSecurityFeaturesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecurityAssessmentSecurityFeaturesResult> getSecurityAssessmentSecurityFeatures(GetSecurityAssessmentSecurityFeaturesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getSecurityAssessmentSecurityFeatures:getSecurityAssessmentSecurityFeatures
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    Filters List<GetSecurityAssessmentSecurityFeaturesFilter>
    TargetId string
    A filter to return only items related to a specific target OCID.
    TargetsWithColumnEncryption string
    A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.
    TargetsWithDatabaseVault string
    A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.
    TargetsWithExternalAuthentication string
    A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.
    TargetsWithFineGrainedAudit string
    A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.
    TargetsWithGlobalAuthentication string
    A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.
    TargetsWithNetworkEncryption string
    A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.
    TargetsWithPasswordAuthentication string
    A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.
    TargetsWithPrivilegeAnalysis string
    A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.
    TargetsWithTablespaceEncryption string
    A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.
    TargetsWithTraditionalAudit string
    A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.
    TargetsWithUnifiedAudit string
    A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    Filters []GetSecurityAssessmentSecurityFeaturesFilter
    TargetId string
    A filter to return only items related to a specific target OCID.
    TargetsWithColumnEncryption string
    A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.
    TargetsWithDatabaseVault string
    A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.
    TargetsWithExternalAuthentication string
    A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.
    TargetsWithFineGrainedAudit string
    A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.
    TargetsWithGlobalAuthentication string
    A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.
    TargetsWithNetworkEncryption string
    A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.
    TargetsWithPasswordAuthentication string
    A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.
    TargetsWithPrivilegeAnalysis string
    A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.
    TargetsWithTablespaceEncryption string
    A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.
    TargetsWithTraditionalAudit string
    A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.
    TargetsWithUnifiedAudit string
    A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters List<GetSecurityAssessmentSecurityFeaturesFilter>
    targetId String
    A filter to return only items related to a specific target OCID.
    targetsWithColumnEncryption String
    A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.
    targetsWithDatabaseVault String
    A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.
    targetsWithExternalAuthentication String
    A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.
    targetsWithFineGrainedAudit String
    A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.
    targetsWithGlobalAuthentication String
    A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.
    targetsWithNetworkEncryption String
    A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.
    targetsWithPasswordAuthentication String
    A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.
    targetsWithPrivilegeAnalysis String
    A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.
    targetsWithTablespaceEncryption String
    A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.
    targetsWithTraditionalAudit String
    A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.
    targetsWithUnifiedAudit String
    A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters GetSecurityAssessmentSecurityFeaturesFilter[]
    targetId string
    A filter to return only items related to a specific target OCID.
    targetsWithColumnEncryption string
    A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.
    targetsWithDatabaseVault string
    A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.
    targetsWithExternalAuthentication string
    A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.
    targetsWithFineGrainedAudit string
    A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.
    targetsWithGlobalAuthentication string
    A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.
    targetsWithNetworkEncryption string
    A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.
    targetsWithPasswordAuthentication string
    A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.
    targetsWithPrivilegeAnalysis string
    A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.
    targetsWithTablespaceEncryption string
    A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.
    targetsWithTraditionalAudit string
    A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.
    targetsWithUnifiedAudit string
    A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters Sequence[datasafe.GetSecurityAssessmentSecurityFeaturesFilter]
    target_id str
    A filter to return only items related to a specific target OCID.
    targets_with_column_encryption str
    A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.
    targets_with_database_vault str
    A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.
    targets_with_external_authentication str
    A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.
    targets_with_fine_grained_audit str
    A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.
    targets_with_global_authentication str
    A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.
    targets_with_network_encryption str
    A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.
    targets_with_password_authentication str
    A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.
    targets_with_privilege_analysis str
    A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.
    targets_with_tablespace_encryption str
    A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.
    targets_with_traditional_audit str
    A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.
    targets_with_unified_audit str
    A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters List<Property Map>
    targetId String
    A filter to return only items related to a specific target OCID.
    targetsWithColumnEncryption String
    A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.
    targetsWithDatabaseVault String
    A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.
    targetsWithExternalAuthentication String
    A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.
    targetsWithFineGrainedAudit String
    A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.
    targetsWithGlobalAuthentication String
    A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.
    targetsWithNetworkEncryption String
    A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.
    targetsWithPasswordAuthentication String
    A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.
    targetsWithPrivilegeAnalysis String
    A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.
    targetsWithTablespaceEncryption String
    A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.
    targetsWithTraditionalAudit String
    A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.
    targetsWithUnifiedAudit String
    A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.

    getSecurityAssessmentSecurityFeatures Result

    The following output properties are available:

    compartment_id str
    The OCID of the compartment.
    id str
    The provider-assigned unique ID for this managed resource.
    security_feature_collections Sequence[datasafe.GetSecurityAssessmentSecurityFeaturesSecurityFeatureCollection]
    The list of security_feature_collection.
    access_level str
    compartment_id_in_subtree bool
    filters Sequence[datasafe.GetSecurityAssessmentSecurityFeaturesFilter]
    target_id str
    The OCID of the target database.
    targets_with_column_encryption str
    targets_with_database_vault str
    targets_with_external_authentication str
    targets_with_fine_grained_audit str
    targets_with_global_authentication str
    targets_with_network_encryption str
    targets_with_password_authentication str
    targets_with_privilege_analysis str
    targets_with_tablespace_encryption str
    targets_with_traditional_audit str
    targets_with_unified_audit str

    Supporting Types

    GetSecurityAssessmentSecurityFeaturesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetSecurityAssessmentSecurityFeaturesSecurityFeatureCollection

    items List<Property Map>
    Array of database security feature summary.

    GetSecurityAssessmentSecurityFeaturesSecurityFeatureCollectionItem

    AssessmentId string
    The OCID of the assessment that generates this security feature usage result.
    ColumnEncryption string
    The usage of security feature - Column Encryption.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DatabaseVault string
    The usage of security feature - Database Vault.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    ExternalAuthentication string
    The usage of security feature - External Authentication.
    FineGrainedAudit string
    The usage of security feature - Fine Grained Audit.
    FreeformTags Dictionary<string, object>
    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"}
    GlobalAuthentication string
    The usage of security feature - Global Authentication.
    NetworkEncryption string
    The usage of security feature - Network Encryption.
    PasswordAuthentication string
    The usage of security feature - Password Authentication.
    PrivilegeAnalysis string
    The usage of security feature - Privilege Analysis.
    TablespaceEncryption string
    The usage of security feature - Tablespace Encryption.
    TargetId string
    A filter to return only items related to a specific target OCID.
    TraditionalAudit string
    The usage of security feature - Traditional Audit.
    UnifiedAudit string
    The usage of security feature - Unified Audit.
    AssessmentId string
    The OCID of the assessment that generates this security feature usage result.
    ColumnEncryption string
    The usage of security feature - Column Encryption.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DatabaseVault string
    The usage of security feature - Database Vault.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    ExternalAuthentication string
    The usage of security feature - External Authentication.
    FineGrainedAudit string
    The usage of security feature - Fine Grained Audit.
    FreeformTags map[string]interface{}
    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"}
    GlobalAuthentication string
    The usage of security feature - Global Authentication.
    NetworkEncryption string
    The usage of security feature - Network Encryption.
    PasswordAuthentication string
    The usage of security feature - Password Authentication.
    PrivilegeAnalysis string
    The usage of security feature - Privilege Analysis.
    TablespaceEncryption string
    The usage of security feature - Tablespace Encryption.
    TargetId string
    A filter to return only items related to a specific target OCID.
    TraditionalAudit string
    The usage of security feature - Traditional Audit.
    UnifiedAudit string
    The usage of security feature - Unified Audit.
    assessmentId String
    The OCID of the assessment that generates this security feature usage result.
    columnEncryption String
    The usage of security feature - Column Encryption.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    databaseVault String
    The usage of security feature - Database Vault.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    externalAuthentication String
    The usage of security feature - External Authentication.
    fineGrainedAudit String
    The usage of security feature - Fine Grained Audit.
    freeformTags Map<String,Object>
    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"}
    globalAuthentication String
    The usage of security feature - Global Authentication.
    networkEncryption String
    The usage of security feature - Network Encryption.
    passwordAuthentication String
    The usage of security feature - Password Authentication.
    privilegeAnalysis String
    The usage of security feature - Privilege Analysis.
    tablespaceEncryption String
    The usage of security feature - Tablespace Encryption.
    targetId String
    A filter to return only items related to a specific target OCID.
    traditionalAudit String
    The usage of security feature - Traditional Audit.
    unifiedAudit String
    The usage of security feature - Unified Audit.
    assessmentId string
    The OCID of the assessment that generates this security feature usage result.
    columnEncryption string
    The usage of security feature - Column Encryption.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    databaseVault string
    The usage of security feature - Database Vault.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    externalAuthentication string
    The usage of security feature - External Authentication.
    fineGrainedAudit string
    The usage of security feature - Fine Grained Audit.
    freeformTags {[key: string]: any}
    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"}
    globalAuthentication string
    The usage of security feature - Global Authentication.
    networkEncryption string
    The usage of security feature - Network Encryption.
    passwordAuthentication string
    The usage of security feature - Password Authentication.
    privilegeAnalysis string
    The usage of security feature - Privilege Analysis.
    tablespaceEncryption string
    The usage of security feature - Tablespace Encryption.
    targetId string
    A filter to return only items related to a specific target OCID.
    traditionalAudit string
    The usage of security feature - Traditional Audit.
    unifiedAudit string
    The usage of security feature - Unified Audit.
    assessment_id str
    The OCID of the assessment that generates this security feature usage result.
    column_encryption str
    The usage of security feature - Column Encryption.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    database_vault str
    The usage of security feature - Database Vault.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    external_authentication str
    The usage of security feature - External Authentication.
    fine_grained_audit str
    The usage of security feature - Fine Grained Audit.
    freeform_tags Mapping[str, Any]
    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"}
    global_authentication str
    The usage of security feature - Global Authentication.
    network_encryption str
    The usage of security feature - Network Encryption.
    password_authentication str
    The usage of security feature - Password Authentication.
    privilege_analysis str
    The usage of security feature - Privilege Analysis.
    tablespace_encryption str
    The usage of security feature - Tablespace Encryption.
    target_id str
    A filter to return only items related to a specific target OCID.
    traditional_audit str
    The usage of security feature - Traditional Audit.
    unified_audit str
    The usage of security feature - Unified Audit.
    assessmentId String
    The OCID of the assessment that generates this security feature usage result.
    columnEncryption String
    The usage of security feature - Column Encryption.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    databaseVault String
    The usage of security feature - Database Vault.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    externalAuthentication String
    The usage of security feature - External Authentication.
    fineGrainedAudit String
    The usage of security feature - Fine Grained Audit.
    freeformTags Map<Any>
    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"}
    globalAuthentication String
    The usage of security feature - Global Authentication.
    networkEncryption String
    The usage of security feature - Network Encryption.
    passwordAuthentication String
    The usage of security feature - Password Authentication.
    privilegeAnalysis String
    The usage of security feature - Privilege Analysis.
    tablespaceEncryption String
    The usage of security feature - Tablespace Encryption.
    targetId String
    A filter to return only items related to a specific target OCID.
    traditionalAudit String
    The usage of security feature - Traditional Audit.
    unifiedAudit String
    The usage of security feature - Unified Audit.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi