Google Cloud
has_most_recent_image_any_severe_or_critical_vulnerabilities
Does the most recent tag have any severe or critical vulnerabilities.
List all severe and critical vulnerabilities for the most recent tag
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosgcp.artifact.probes |
Name | list_severe_or_critical_vulnerabilities_in_most_recent_image |
Return | list |
Usage
JSON
{
"name": "list-severe-or-critical-vulnerabilities-in-most-recent-image",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosgcp.artifact.probes",
"func": "list_severe_or_critical_vulnerabilities_in_most_recent_image",
"arguments": {
"repository": "",
"package_name": ""
}
}
}
YAML
name: list-severe-or-critical-vulnerabilities-in-most-recent-image
provider:
arguments:
package_name: ""
repository: ""
func: list_severe_or_critical_vulnerabilities_in_most_recent_image
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 list_severe_or_critical_vulnerabilities_in_most_recent_image(
repository: str,
package_name: str,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> List[Dict[str, Any]]:
pass