TemplateAnalyticsDimensions

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

Bases: object

The scope of analytics data.

Methods

__init__(**kwargs) Initializes a new TemplateAnalyticsDimensions object with values from keyword arguments.

Attributes

is_compared Gets the is_compared of this TemplateAnalyticsDimensions.
is_compliant Gets the is_compliant of this TemplateAnalyticsDimensions.
is_group Gets the is_group of this TemplateAnalyticsDimensions.
target_database_group_id Gets the target_database_group_id of this TemplateAnalyticsDimensions.
target_id Gets the target_id of this TemplateAnalyticsDimensions.
template_assessment_id Gets the template_assessment_id of this TemplateAnalyticsDimensions.
template_baseline_assessment_id Gets the template_baseline_assessment_id of this TemplateAnalyticsDimensions.
time_last_compared Gets the time_last_compared of this TemplateAnalyticsDimensions.
total_checks Gets the total_checks of this TemplateAnalyticsDimensions.
total_checks_failed Gets the total_checks_failed of this TemplateAnalyticsDimensions.
total_non_compliant_targets Gets the total_non_compliant_targets of this TemplateAnalyticsDimensions.
total_targets Gets the total_targets of this TemplateAnalyticsDimensions.
__init__(**kwargs)

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

Parameters:
  • template_assessment_id (str) – The value to assign to the template_assessment_id property of this TemplateAnalyticsDimensions.
  • total_checks (int) – The value to assign to the total_checks property of this TemplateAnalyticsDimensions.
  • template_baseline_assessment_id (str) – The value to assign to the template_baseline_assessment_id property of this TemplateAnalyticsDimensions.
  • target_id (str) – The value to assign to the target_id property of this TemplateAnalyticsDimensions.
  • target_database_group_id (str) – The value to assign to the target_database_group_id property of this TemplateAnalyticsDimensions.
  • is_group (bool) – The value to assign to the is_group property of this TemplateAnalyticsDimensions.
  • is_compared (bool) – The value to assign to the is_compared property of this TemplateAnalyticsDimensions.
  • time_last_compared (datetime) – The value to assign to the time_last_compared property of this TemplateAnalyticsDimensions.
  • is_compliant (bool) – The value to assign to the is_compliant property of this TemplateAnalyticsDimensions.
  • total_checks_failed (int) – The value to assign to the total_checks_failed property of this TemplateAnalyticsDimensions.
  • total_targets (int) – The value to assign to the total_targets property of this TemplateAnalyticsDimensions.
  • total_non_compliant_targets (int) – The value to assign to the total_non_compliant_targets property of this TemplateAnalyticsDimensions.
is_compared

Gets the is_compared of this TemplateAnalyticsDimensions. Indicates whether or not the comparison between the latest assessment and the template baseline assessment is done. If the value is false, it means the comparison is not done yet.

Returns:The is_compared of this TemplateAnalyticsDimensions.
Return type:bool
is_compliant

Gets the is_compliant of this TemplateAnalyticsDimensions. Indicates whether or not the latest assessment is compliant with the template baseline assessment. If the value is false, it means there is drift in the comparison report and the totalChecksFailed field will have a non-zero value.

Returns:The is_compliant of this TemplateAnalyticsDimensions.
Return type:bool
is_group

Gets the is_group of this TemplateAnalyticsDimensions. Indicates whether or not the template security assessment is applied to a target group. If the value is false, it means the template security assessment is applied to a individual target.

Returns:The is_group of this TemplateAnalyticsDimensions.
Return type:bool
target_database_group_id

Gets the target_database_group_id of this TemplateAnalyticsDimensions. The OCID of the target database group that the group assessment is created for. This field will be in the response if the template was applied on a target group.

Returns:The target_database_group_id of this TemplateAnalyticsDimensions.
Return type:str
target_id

Gets the target_id of this TemplateAnalyticsDimensions. The OCID of the target database. This field will be in the response if the template was applied on an individual target.

Returns:The target_id of this TemplateAnalyticsDimensions.
Return type:str
template_assessment_id

Gets the template_assessment_id of this TemplateAnalyticsDimensions. The OCID of the security assessment of type TEMPLATE.

Returns:The template_assessment_id of this TemplateAnalyticsDimensions.
Return type:str
template_baseline_assessment_id

Gets the template_baseline_assessment_id of this TemplateAnalyticsDimensions. The OCID of the security assessment of type TEMPLATE_BASELINE.

Returns:The template_baseline_assessment_id of this TemplateAnalyticsDimensions.
Return type:str
time_last_compared

Gets the time_last_compared of this TemplateAnalyticsDimensions. The date and time when the comparison was made upon the template baseline. Conforms to the format defined by RFC3339.

Returns:The time_last_compared of this TemplateAnalyticsDimensions.
Return type:datetime
total_checks

Gets the total_checks of this TemplateAnalyticsDimensions. The number of checks inside the template assessment.

Returns:The total_checks of this TemplateAnalyticsDimensions.
Return type:int
total_checks_failed

Gets the total_checks_failed of this TemplateAnalyticsDimensions. Indicates how many checks in the template have drifts in the comparison report. This field is only present if isCompliant is false.

Returns:The total_checks_failed of this TemplateAnalyticsDimensions.
Return type:int
total_non_compliant_targets

Gets the total_non_compliant_targets of this TemplateAnalyticsDimensions. The number of the target(s) that have drifts in the comparison report. This field is only present if isCompared is true.

Returns:The total_non_compliant_targets of this TemplateAnalyticsDimensions.
Return type:int
total_targets

Gets the total_targets of this TemplateAnalyticsDimensions. The number of the target(s) inside the target group for which the template baseline assessment was created for. If the isGroup field is false, the value will be 1, representing the single target.

Returns:The total_targets of this TemplateAnalyticsDimensions.
Return type:int