Class CreateSecurityAssessmentDetails
The details used to save a security assessment.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CreateSecurityAssessmentDetails
Properties
BaseSecurityAssessmentId
Declaration
[JsonProperty(PropertyName = "baseSecurityAssessmentId")]
public string BaseSecurityAssessmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the security assessment. The assessment should be of type SAVED. It will be required while creating the template baseline assessment for individual targets to fetch the detailed information from an existing security assessment. |
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 | Description of the security assessment. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display name of the security 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
|
IsAssessmentScheduled
Declaration
[JsonProperty(PropertyName = "isAssessmentScheduled")]
public bool? IsAssessmentScheduled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates whether the assessment is scheduled to run. |
Schedule
Declaration
[JsonProperty(PropertyName = "schedule")]
public string Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetId
Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the target database or target database group on which security assessment is to be run. |
TargetType
Declaration
[JsonProperty(PropertyName = "targetType")]
[JsonConverter(typeof(StringEnumConverter))]
public SecurityAssessmentTargetType? TargetType { get; set; }
Property Value
| Type | Description |
|---|---|
| SecurityAssessmentTargetType? | The type of security assessment resource whether it is individual or group resource. For individual target use type TARGET_DATABASE and for group resource use type TARGET_DATABASE_GROUP. If not provided, TARGET_DATABASE would be used as default value. |
TemplateAssessmentId
Declaration
[JsonProperty(PropertyName = "templateAssessmentId")]
public string TemplateAssessmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the template assessment. It will be required while creating the template baseline assessment. |
Type
Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateSecurityAssessmentDetails.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateSecurityAssessmentDetails.TypeEnum? | The type of the security assessment |