Show / Hide Table of Contents

Class SecurityAssessmentSummary

The summary of a security assessment.

Inheritance
object
SecurityAssessmentSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class SecurityAssessmentSummary

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 Example: {"Operations": {"CostCenter": "42"}}

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
Example: {"Department": "Finance"}

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"} ] }

IgnoredTargetIds

Declaration
[JsonProperty(PropertyName = "ignoredTargetIds")]
public List<object> IgnoredTargetIds { get; set; }
Property Value
Type Description
List<object>

List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }

IsBaseline

Declaration
[JsonProperty(PropertyName = "isBaseline")]
public bool? IsBaseline { get; set; }
Property Value
Type Description
bool?

Indicates whether or not the assessment is a baseline assessment. This applied to saved security assessments only.

IsDeviatedFromBaseline

Declaration
[JsonProperty(PropertyName = "isDeviatedFromBaseline")]
public bool? IsDeviatedFromBaseline { get; set; }
Property Value
Type Description
bool?

Indicates whether or not the security assessment deviates 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 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 created this scheduled save assessment.

Statistics

Declaration
[JsonProperty(PropertyName = "statistics")]
public SecurityAssessmentStatistics Statistics { get; set; }
Property Value
Type Description
SecurityAssessmentStatistics

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

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 SecurityAssessmentSummary.TriggeredByEnum? TriggeredBy { get; set; }
Property Value
Type Description
SecurityAssessmentSummary.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 SecurityAssessmentSummary.TypeEnum? Type { get; set; }
Property Value
Type Description
SecurityAssessmentSummary.TypeEnum?

The type of the security assessment. Possible values are:
LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated. SAVED: A saved security assessment. LATEST assessments are always saved in order to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user). SAVE_SCHEDULE: The schedule for periodic saves of LATEST assessments. COMPARTMENT: An automatically managed assessment type that stores all details of targets in one compartment. This type keeps an up-to-date assessment of all database risks in one compartment. It is automatically updated when the latest assessment or refresh action is executed. It is also automatically updated when a target is deleted or move to a different compartment.

Remarks

Required

In this article
Back to top