ContainerScanResultSummary¶
-
class
oci.vulnerability_scanning.models.
ContainerScanResultSummary
(**kwargs)¶ Bases:
object
A summary of a result for a container scan
Attributes
HIGHEST_PROBLEM_SEVERITY_CRITICAL
A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. HIGHEST_PROBLEM_SEVERITY_HIGH
A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. HIGHEST_PROBLEM_SEVERITY_LOW
A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. HIGHEST_PROBLEM_SEVERITY_MEDIUM
A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. HIGHEST_PROBLEM_SEVERITY_NONE
A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. compartment_id
[Required] Gets the compartment_id of this ContainerScanResultSummary. container_scan_target_id
Gets the container_scan_target_id of this ContainerScanResultSummary. highest_problem_severity
[Required] Gets the highest_problem_severity of this ContainerScanResultSummary. id
[Required] Gets the id of this ContainerScanResultSummary. image
[Required] Gets the image of this ContainerScanResultSummary. problem_count
[Required] Gets the problem_count of this ContainerScanResultSummary. repository
[Required] Gets the repository of this ContainerScanResultSummary. time_finished
[Required] Gets the time_finished of this ContainerScanResultSummary. time_started
[Required] Gets the time_started of this ContainerScanResultSummary. Methods
__init__
(**kwargs)Initializes a new ContainerScanResultSummary object with values from keyword arguments. -
HIGHEST_PROBLEM_SEVERITY_CRITICAL
= 'CRITICAL'¶ A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. This constant has a value of “CRITICAL”
-
HIGHEST_PROBLEM_SEVERITY_HIGH
= 'HIGH'¶ A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. This constant has a value of “HIGH”
-
HIGHEST_PROBLEM_SEVERITY_LOW
= 'LOW'¶ A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. This constant has a value of “LOW”
-
HIGHEST_PROBLEM_SEVERITY_MEDIUM
= 'MEDIUM'¶ A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. This constant has a value of “MEDIUM”
-
HIGHEST_PROBLEM_SEVERITY_NONE
= 'NONE'¶ A constant which can be used with the highest_problem_severity property of a ContainerScanResultSummary. This constant has a value of “NONE”
-
__init__
(**kwargs)¶ Initializes a new ContainerScanResultSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this ContainerScanResultSummary.
- repository (str) – The value to assign to the repository property of this ContainerScanResultSummary.
- image (str) – The value to assign to the image property of this ContainerScanResultSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ContainerScanResultSummary.
- container_scan_target_id (str) – The value to assign to the container_scan_target_id property of this ContainerScanResultSummary.
- highest_problem_severity (str) – The value to assign to the highest_problem_severity property of this ContainerScanResultSummary. Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- problem_count (int) – The value to assign to the problem_count property of this ContainerScanResultSummary.
- time_started (datetime) – The value to assign to the time_started property of this ContainerScanResultSummary.
- time_finished (datetime) – The value to assign to the time_finished property of this ContainerScanResultSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this ContainerScanResultSummary. The OCID of the container scan result’s compartment. This is set to the same as the compartmentId of the container scan target
Returns: The compartment_id of this ContainerScanResultSummary. Return type: str
-
container_scan_target_id
¶ Gets the container_scan_target_id of this ContainerScanResultSummary. The OCID of container scan target. Immutable and generated on creation.
Returns: The container_scan_target_id of this ContainerScanResultSummary. Return type: str
-
highest_problem_severity
¶ [Required] Gets the highest_problem_severity of this ContainerScanResultSummary. Highest problem severity in this report
Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The highest_problem_severity of this ContainerScanResultSummary. Return type: str
-
id
¶ [Required] Gets the id of this ContainerScanResultSummary. The OCID of container scan result. Immutable and generated on creation.
Returns: The id of this ContainerScanResultSummary. Return type: str
-
image
¶ [Required] Gets the image of this ContainerScanResultSummary. Image name
Returns: The image of this ContainerScanResultSummary. Return type: str
-
problem_count
¶ [Required] Gets the problem_count of this ContainerScanResultSummary. Total number of problems found in this scan
Returns: The problem_count of this ContainerScanResultSummary. Return type: int
-
repository
¶ [Required] Gets the repository of this ContainerScanResultSummary. Repository in which the container image scanned is located
Returns: The repository of this ContainerScanResultSummary. Return type: str
-