UpdateSecurityAssessmentDetails

class oci.data_safe.models.UpdateSecurityAssessmentDetails(**kwargs)

Bases: object

Updates one or more attributes of the specified security assessment.

Methods:

__init__(**kwargs)

Initializes a new UpdateSecurityAssessmentDetails object with values from keyword arguments.

Attributes:

defined_tags

Gets the defined_tags of this UpdateSecurityAssessmentDetails.

description

Gets the description of this UpdateSecurityAssessmentDetails.

display_name

Gets the display_name of this UpdateSecurityAssessmentDetails.

freeform_tags

Gets the freeform_tags of this UpdateSecurityAssessmentDetails.

is_assessment_scheduled

Gets the is_assessment_scheduled of this UpdateSecurityAssessmentDetails.

schedule

Gets the schedule of this UpdateSecurityAssessmentDetails.

__init__(**kwargs)

Initializes a new UpdateSecurityAssessmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • display_name (str) – The value to assign to the display_name property of this UpdateSecurityAssessmentDetails.

  • description (str) – The value to assign to the description property of this UpdateSecurityAssessmentDetails.

  • is_assessment_scheduled (bool) – The value to assign to the is_assessment_scheduled property of this UpdateSecurityAssessmentDetails.

  • schedule (str) – The value to assign to the schedule property of this UpdateSecurityAssessmentDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateSecurityAssessmentDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateSecurityAssessmentDetails.

property defined_tags

Gets the defined_tags of this UpdateSecurityAssessmentDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this UpdateSecurityAssessmentDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateSecurityAssessmentDetails. The description of the security assessment.

Returns

The description of this UpdateSecurityAssessmentDetails.

Return type

str

property display_name

Gets the display_name of this UpdateSecurityAssessmentDetails. The display name of the security assessment.

Returns

The display_name of this UpdateSecurityAssessmentDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateSecurityAssessmentDetails. 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”}

Returns

The freeform_tags of this UpdateSecurityAssessmentDetails.

Return type

dict(str, str)

property is_assessment_scheduled

Gets the is_assessment_scheduled of this UpdateSecurityAssessmentDetails. Indicates whether the assessment is scheduled to run.

Returns

The is_assessment_scheduled of this UpdateSecurityAssessmentDetails.

Return type

bool

property schedule

Gets the schedule of this UpdateSecurityAssessmentDetails. This is applicable only for save schedule and latest assessment. It updates the existing schedule in a specified format: <version-string>;<version-specific-schedule>

Allowed version strings - “v1” v1’s version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month> Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59]) 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59]) 3. hours = <hh> (So, the allowed range for <hh> is [0, 23]) <day-of-week> can be either ‘*’ (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ‘*’. When not, day of week must equal the given value <day-of-month> can be either ‘*’ (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ‘*’. When not, day of month must equal the given value

Returns

The schedule of this UpdateSecurityAssessmentDetails.

Return type

str