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