Google Cloud
get_container_most_recent_image_vulnerabilities_occurences
Does the most recent tag have any severe or critical vulnerabilities.
Does the most recent tag have any severe or critical vulnerabilities.
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosgcp.artifact.probes |
Name | has_most_recent_image_any_severe_or_critical_vulnerabilities |
Return | bool |
Usage
JSON
{
"name": "has-most-recent-image-any-severe-or-critical-vulnerabilities",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosgcp.artifact.probes",
"func": "has_most_recent_image_any_severe_or_critical_vulnerabilities",
"arguments": {
"repository": "",
"package_name": ""
}
}
}
YAML
name: has-most-recent-image-any-severe-or-critical-vulnerabilities
provider:
arguments:
package_name: ""
repository: ""
func: has_most_recent_image_any_severe_or_critical_vulnerabilities
module: chaosgcp.artifact.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
repository | string | Yes | Repository | Name of the repository | |
package_name | string | Yes | Container Name | Name of the container in the repository |
Signature
def has_most_recent_image_any_severe_or_critical_vulnerabilities(
repository: str,
package_name: str,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> bool:
pass