Class SecurityAssessment
A security assessment that provides an overall insight into your database security posture. The security assessment results are based on the analysis of your database configurations, user accounts, and security controls. For more information, see Security Assessment Overview.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class SecurityAssessment
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 security assessment. |
Remarks
Required
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
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of the security assessment. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the security assessment. |
Remarks
Required
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 security assessment. |
Remarks
Required
IgnoredAssessmentIds
Declaration
[JsonProperty(PropertyName = "ignoredAssessmentIds")]
public List<object> IgnoredAssessmentIds { get; set; }
Property Value
Type | Description |
---|---|
List<object> | List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] } |
IgnoredTargets
Declaration
[JsonProperty(PropertyName = "ignoredTargets")]
public List<object> IgnoredTargets { get; set; }
Property Value
Type | Description |
---|---|
List<object> | List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] } |
IsAssessmentScheduled
Declaration
[JsonProperty(PropertyName = "isAssessmentScheduled")]
public bool? IsAssessmentScheduled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the assessment is scheduled to run. |
IsBaseline
Declaration
[JsonProperty(PropertyName = "isBaseline")]
public bool? IsBaseline { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether or not the security assessment is set as a baseline. This is applicable only for saved security assessments. |
IsDeviatedFromBaseline
Declaration
[JsonProperty(PropertyName = "isDeviatedFromBaseline")]
public bool? IsDeviatedFromBaseline { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if the assessment has deviated from the baseline. |
LastComparedBaselineId
Declaration
[JsonProperty(PropertyName = "lastComparedBaselineId")]
public string LastComparedBaselineId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the baseline against which the latest security assessment was compared. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Details about the current state of the security assessment. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SecurityAssessmentLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
SecurityAssessmentLifecycleState? | The current state of the security assessment. |
Remarks
Required
Link
Declaration
[JsonProperty(PropertyName = "link")]
public string Link { get; set; }
Property Value
Type | Description |
---|---|
string | The summary of findings for the security assessment |
Schedule
Declaration
[JsonProperty(PropertyName = "schedule")]
public string Schedule { get; set; }
Property Value
Type | Description |
---|---|
string |
ScheduleSecurityAssessmentId
Declaration
[JsonProperty(PropertyName = "scheduleSecurityAssessmentId")]
public string ScheduleSecurityAssessmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the security assessment that is responsible for creating this scheduled save assessment. |
Statistics
Declaration
[JsonProperty(PropertyName = "statistics")]
public SecurityAssessmentStatistics Statistics { get; set; }
Property Value
Type | Description |
---|---|
SecurityAssessmentStatistics |
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"}} |
TargetIds
Declaration
[Required(ErrorMessage = "TargetIds is required.")]
[JsonProperty(PropertyName = "targetIds")]
public List<string> TargetIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Array of database target OCIDs. |
Remarks
Required
TargetVersion
Declaration
[JsonProperty(PropertyName = "targetVersion")]
public string TargetVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The version of the target database. |
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 security assessment was created, in the format defined by RFC3339. |
Remarks
Required
TimeLastAssessed
Declaration
[JsonProperty(PropertyName = "timeLastAssessed")]
public DateTime? TimeLastAssessed { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the security assessment was last executed, in the format defined by RFC3339. |
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 security assessment was last updated, in the format defined by RFC3339. |
Remarks
Required
TriggeredBy
Declaration
[JsonProperty(PropertyName = "triggeredBy")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SecurityAssessment.TriggeredByEnum? TriggeredBy { get; set; }
Property Value
Type | Description |
---|---|
SecurityAssessment.TriggeredByEnum? | Indicates whether the security assessment was created by system or by a user. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SecurityAssessment.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
SecurityAssessment.TypeEnum? | The type of this security assessment. The possible types are:
|
Remarks
Required