Data Source: oci_data_safe_crypto_assessments
This data source provides the list of Crypto Assessments in Oracle Cloud Infrastructure Data Safe service.
Gets a list of crypto assessments with filtering and pagination support.
Example Usage
data "oci_data_safe_crypto_assessments" "test_crypto_assessments" {
#Required
compartment_id = var.compartment_id
#Optional
access_level = var.crypto_assessment_access_level
assessment_id = oci_database_migration_assessment.test_assessment.id
compartment_id_in_subtree = var.crypto_assessment_compartment_id_in_subtree
display_name = var.crypto_assessment_display_name
is_assessment_scheduled = var.crypto_assessment_is_assessment_scheduled
posture_category = var.crypto_assessment_posture_category
state = var.crypto_assessment_state
target_database_group_id = oci_data_safe_target_database_group.test_target_database_group.id
target_id = oci_cloud_guard_target.test_target.id
target_ids = var.crypto_assessment_target_ids
target_type = var.crypto_assessment_target_type
type = var.crypto_assessment_type
}
Argument Reference
The following arguments are supported:
access_level- (Optional) 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.assessment_id- (Optional) A filter to return only resources associated with the specified crypto assessment OCID.compartment_id- (Required) A filter to return only resources that match the specified compartment OCID.compartment_id_in_subtree- (Optional) 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.display_name- (Optional) A filter to return only resources that match the specified display name.is_assessment_scheduled- (Optional) A filter to return only crypto assessments whose scheduled execution state matches the specified value.posture_category- (Optional) A filter to return only crypto assessments that match any of the specified posture categories.state- (Optional) A filter to return only resources that match the specified lifecycle state.target_database_group_id- (Optional) A filter to return the target database group that matches the specified OCID.target_id- (Optional) A filter to return only crypto assessments associated with the specified target OCID. When provided, targetType must also be specified.target_ids- (Optional) A filter to return only resources associated with any of the specified target OCIDs.target_type- (Optional) A filter to return crypto assessments belonging to the specified target type.ListCryptoAssessmentsreturns assessment rows; usetargetDatabaseGroupIdto list the underlying target database assessments for a group.type- (Optional) A filter to return only crypto assessments that match the specified type.
Attributes Reference
The following attributes are exported:
crypto_assessment_collection- The list of crypto_assessment_collection.
CryptoAssessment Reference
The following attributes are exported:
compartment_id- The OCID of the compartment that contains the crypto assessment.crypto_posture- Cryptographic posture details captured by the assessment.backup_status- Backup encryption status observed for the assessment.encrypted_backup_pieces_count- Number of encrypted backup pieces.fips_mode_configured- Common FIPS mode configured for the assessment when the target uses common FIPS configuration.fips_status- Overall FIPS status for the assessment when the target uses common FIPS configuration.network_encryption- Network encryption details.nne- Native network encryption posture details.are_weak_options_allowed- Indicates if weak NNE options are allowed.encryption_configured- Configured network encryption algorithm.fips_mode_configured- FIPS mode configured for NNE when the target uses legacy per-feature FIPS configuration.integrity- NNE integrity algorithm(s).key_exchange- Observed NNE key exchange setting.quantum_readiness- Quantum-readiness classification for NNE posture.server_encryption- Observed server-side encryption requirement.server_integrity- NNE server integrity algorithm(s).status- NNE enablement status.
tde- Transparent data encryption posture details.db_credentials_encryption_observed- Observed DB credentials encryption algorithm.encrypted_tablespaces_count- Number of encrypted tablespaces detected.encryption_configured- Configured TDE encryption algorithm.fips_mode_configured- FIPS mode configured for TDE when the target uses legacy per-feature FIPS configuration.integrity_configured- Configured TDE integrity-related setting.key_cache_status- The observed TDE key cache status.key_store_type- The observed TDE key store type.master_key_encryption_algorithm- The observed encryption algorithm used by the master key.master_key_id- The observed TDE master key identifier.quantum_readiness- Quantum-readiness classification for TDE posture.redo_encryption_observed- Observed redo log encryption algorithm.status- TDE enablement status.time_master_key_last_rotation- The last observed rotation time for the TDE master key, in RFC3339 format.unencrypted_tablespaces_count- Number of unencrypted tablespaces detected.wallet_location- The observed wallet location for TDE keys.
tls- TLS posture details.are_weak_cipher_suites_allowed- Indicates if weak TLS cipher suites are allowed.cipher_suites_configured- TLS cipher suites configured on target.fips_mode_configured- FIPS mode configured for TLS when the target uses legacy per-feature FIPS configuration.is_mtls_configured- Whether TLS client authentication is configured.quantum_readiness- Quantum-readiness classification for TLS posture.revocation_mode- Certificate revocation checking mode.status- TLS enablement status.versions- TLS versions configured on target.wallet_location- TLS wallet location observed on target.
unencrypted_backup_pieces_count- Number of unencrypted backup pieces.
crypto_provider- Cryptographic provider and version information observed on the target.database_architecture- The architecture of the assessed target database.database_name- The name of the assessed target database.database_version- The version of the assessed target database.defined_tags- 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- The description of the crypto assessment.display_name- The display name of the crypto assessment.freeform_tags- 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"}id- The OCID of the crypto assessment.is_assessment_scheduled- Indicates whether scheduled execution is active for this crypto assessment. When false, the schedule value is retained but scheduled execution is paused.issue_count- Number of crypto issues detected in this assessment.lifecycle_details- Details about the current lifecycle state of the crypto assessment.posture_category- Overall posture category for the crypto assessment.schedule- The schedule used to run the crypto assessment periodically. The schedule uses the format:; For v1, the version-specific schedule format is:
Specify either day-of-week for weekly schedules or day-of-month for monthly schedules. Do not specify both. For monthly schedules, day-of-month must be between 1 and 28. If the service generates a default monthly schedule for an assessment created on day 29, 30, or 31 of a month, it uses day 28.
state- The current lifecycle state of the crypto assessment.system_tags- 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"}target_database_group_id- The OCID of the target database group. This is returned whentargetTypeisTARGET_DATABASE_GROUP.target_id- The OCID of the target database.target_type- The target type of the crypto assessment.targets_with_issues_count- Number of assessed targets with one or more crypto issues. For a target database assessment, this value is 1 when the target has issues and 0 otherwise. For a target database group assessment, this value is the number of targets in the group that have issues.time_created- The date and time the crypto assessment was created, in RFC3339 format.time_last_assessed- The date and time the crypto posture was last assessed, in RFC3339 format.time_updated- The date and time the crypto assessment was last updated, in RFC3339 format.triggered_by- The actor that created the assessment.type- The type of this crypto assessment.