ResourceProfile

class oci.cloud_guard.models.ResourceProfile(**kwargs)

Bases: object

Resource profile details

Attributes

RISK_LEVEL_CRITICAL A constant which can be used with the risk_level property of a ResourceProfile.
RISK_LEVEL_HIGH A constant which can be used with the risk_level property of a ResourceProfile.
RISK_LEVEL_LOW A constant which can be used with the risk_level property of a ResourceProfile.
RISK_LEVEL_MEDIUM A constant which can be used with the risk_level property of a ResourceProfile.
RISK_LEVEL_MINOR A constant which can be used with the risk_level property of a ResourceProfile.
compartment_id [Required] Gets the compartment_id of this ResourceProfile.
display_name [Required] Gets the display_name of this ResourceProfile.
id [Required] Gets the id of this ResourceProfile.
peak_risk_score Gets the peak_risk_score of this ResourceProfile.
problem_ids Gets the problem_ids of this ResourceProfile.
resource_id [Required] Gets the resource_id of this ResourceProfile.
risk_level Gets the risk_level of this ResourceProfile.
risk_score [Required] Gets the risk_score of this ResourceProfile.
sightings_count Gets the sightings_count of this ResourceProfile.
tactics [Required] Gets the tactics of this ResourceProfile.
target_id Gets the target_id of this ResourceProfile.
time_first_detected [Required] Gets the time_first_detected of this ResourceProfile.
time_last_detected [Required] Gets the time_last_detected of this ResourceProfile.
time_peak_score Gets the time_peak_score of this ResourceProfile.
type [Required] Gets the type of this ResourceProfile.

Methods

__init__(**kwargs) Initializes a new ResourceProfile object with values from keyword arguments.
RISK_LEVEL_CRITICAL = 'CRITICAL'

A constant which can be used with the risk_level property of a ResourceProfile. This constant has a value of “CRITICAL”

RISK_LEVEL_HIGH = 'HIGH'

A constant which can be used with the risk_level property of a ResourceProfile. This constant has a value of “HIGH”

RISK_LEVEL_LOW = 'LOW'

A constant which can be used with the risk_level property of a ResourceProfile. This constant has a value of “LOW”

RISK_LEVEL_MEDIUM = 'MEDIUM'

A constant which can be used with the risk_level property of a ResourceProfile. This constant has a value of “MEDIUM”

RISK_LEVEL_MINOR = 'MINOR'

A constant which can be used with the risk_level property of a ResourceProfile. This constant has a value of “MINOR”

__init__(**kwargs)

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

Parameters:
  • sightings_count (int) – The value to assign to the sightings_count property of this ResourceProfile.
  • id (str) – The value to assign to the id property of this ResourceProfile.
  • resource_id (str) – The value to assign to the resource_id property of this ResourceProfile.
  • display_name (str) – The value to assign to the display_name property of this ResourceProfile.
  • type (str) – The value to assign to the type property of this ResourceProfile.
  • problem_ids (list[str]) – The value to assign to the problem_ids property of this ResourceProfile.
  • compartment_id (str) – The value to assign to the compartment_id property of this ResourceProfile.
  • target_id (str) – The value to assign to the target_id property of this ResourceProfile.
  • risk_score (float) – The value to assign to the risk_score property of this ResourceProfile.
  • risk_level (str) – The value to assign to the risk_level property of this ResourceProfile. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • peak_risk_score (float) – The value to assign to the peak_risk_score property of this ResourceProfile.
  • time_peak_score (datetime) – The value to assign to the time_peak_score property of this ResourceProfile.
  • time_first_detected (datetime) – The value to assign to the time_first_detected property of this ResourceProfile.
  • time_last_detected (datetime) – The value to assign to the time_last_detected property of this ResourceProfile.
  • tactics (list[oci.cloud_guard.models.TacticSummary]) – The value to assign to the tactics property of this ResourceProfile.
compartment_id

[Required] Gets the compartment_id of this ResourceProfile. Compartment Id for resource profile

Returns:The compartment_id of this ResourceProfile.
Return type:str
display_name

[Required] Gets the display_name of this ResourceProfile. Resource name for resource profile

Returns:The display_name of this ResourceProfile.
Return type:str
id

[Required] Gets the id of this ResourceProfile. Unique identifier for resource profile

Returns:The id of this ResourceProfile.
Return type:str
peak_risk_score

Gets the peak_risk_score of this ResourceProfile. Peak Risk Score for the resource profile

Returns:The peak_risk_score of this ResourceProfile.
Return type:float
problem_ids

Gets the problem_ids of this ResourceProfile. List of Problems associated with the resource profile.

Returns:The problem_ids of this ResourceProfile.
Return type:list[str]
resource_id

[Required] Gets the resource_id of this ResourceProfile. Unique identifier for resource profile

Returns:The resource_id of this ResourceProfile.
Return type:str
risk_level

Gets the risk_level of this ResourceProfile. Risk Level associated with resource profile

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The risk_level of this ResourceProfile.
Return type:str
risk_score

[Required] Gets the risk_score of this ResourceProfile. Risk Score for the resource profile

Returns:The risk_score of this ResourceProfile.
Return type:float
sightings_count

Gets the sightings_count of this ResourceProfile. Number of sightings associated with this resource profile

Returns:The sightings_count of this ResourceProfile.
Return type:int
tactics

[Required] Gets the tactics of this ResourceProfile. List of tactic summary associated with the resource profile.

Returns:The tactics of this ResourceProfile.
Return type:list[oci.cloud_guard.models.TacticSummary]
target_id

Gets the target_id of this ResourceProfile. Target Id for resource profile

Returns:The target_id of this ResourceProfile.
Return type:str
time_first_detected

[Required] Gets the time_first_detected of this ResourceProfile. The date and time the resource profile was first detected. Format defined by RFC3339.

Returns:The time_first_detected of this ResourceProfile.
Return type:datetime
time_last_detected

[Required] Gets the time_last_detected of this ResourceProfile. The date and time the resource profile was last detected. Format defined by RFC3339.

Returns:The time_last_detected of this ResourceProfile.
Return type:datetime
time_peak_score

Gets the time_peak_score of this ResourceProfile. The date and time for peak risk score. Format defined by RFC3339.

Returns:The time_peak_score of this ResourceProfile.
Return type:datetime
type

[Required] Gets the type of this ResourceProfile. Resource type for resource profile

Returns:The type of this ResourceProfile.
Return type:str