Class CryptoAssessment
A crypto assessment that provides insight into database cryptographic posture. The assessment evaluates data and network encryption, certificates, key management, backups, and quantum-readiness settings for a target database.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CryptoAssessment
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment that contains the crypto assessment. |
Remarks
Required
CryptoPosture
Declaration
[JsonProperty(PropertyName = "cryptoPosture")]
public CryptoPosture CryptoPosture { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoPosture |
CryptoProvider
Declaration
[JsonProperty(PropertyName = "cryptoProvider")]
public string CryptoProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Cryptographic provider and version information observed on the target. |
DatabaseArchitecture
Declaration
[JsonProperty(PropertyName = "databaseArchitecture")]
public string DatabaseArchitecture { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The architecture of the assessed target database. |
DatabaseName
Declaration
[JsonProperty(PropertyName = "databaseName")]
public string DatabaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the assessed target database. |
DatabaseVersion
Declaration
[JsonProperty(PropertyName = "databaseVersion")]
public string DatabaseVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The version of the assessed target database. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, 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"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The description of the crypto assessment. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display name of the crypto assessment. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | 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
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the crypto assessment. |
Remarks
Required
IsAssessmentScheduled
Declaration
[JsonProperty(PropertyName = "isAssessmentScheduled")]
public bool? IsAssessmentScheduled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates whether scheduled execution is active for this crypto assessment. When false, the schedule value is retained but scheduled execution is paused. |
IssueCount
Declaration
[JsonProperty(PropertyName = "issueCount")]
public int? IssueCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Number of crypto issues detected in this assessment. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Details about the current lifecycle state of the crypto assessment. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessment.LifecycleStateEnum? | The current lifecycle state of the crypto assessment. |
Remarks
Required
PostureCategory
Declaration
[JsonProperty(PropertyName = "postureCategory")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoPostureCategory? PostureCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoPostureCategory? | Overall posture category for the crypto assessment. |
Schedule
Declaration
[JsonProperty(PropertyName = "schedule")]
public string Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | 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"}} |
TargetDatabaseGroupId
Declaration
[JsonProperty(PropertyName = "targetDatabaseGroupId")]
public string TargetDatabaseGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the target database group. This is returned when |
TargetId
Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the target database. |
TargetType
Declaration
[Required(ErrorMessage = "TargetType is required.")]
[JsonProperty(PropertyName = "targetType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessment.TargetTypeEnum? TargetType { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessment.TargetTypeEnum? | The target type of the crypto assessment. |
Remarks
Required
TargetsWithIssuesCount
Declaration
[JsonProperty(PropertyName = "targetsWithIssuesCount")]
public int? TargetsWithIssuesCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | 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. |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the crypto assessment was created, in RFC3339 format. |
Remarks
Required
TimeLastAssessed
Declaration
[JsonProperty(PropertyName = "timeLastAssessed")]
public DateTime? TimeLastAssessed { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the crypto posture was last assessed, in RFC3339 format. |
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the crypto assessment was last updated, in RFC3339 format. |
Remarks
Required
TriggeredBy
Declaration
[JsonProperty(PropertyName = "triggeredBy")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessment.TriggeredByEnum? TriggeredBy { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessment.TriggeredByEnum? | The actor that created the assessment. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessment.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessment.TypeEnum? | The type of this crypto assessment. |
Remarks
Required