Google Cloud
list_severe_or_critical_vulnerabilities_in_most_recent_image
List all severe and critical vulnerabilities for the most recent tag
Get image version (sha256) for most recent tag.
Type | probe |
Module | chaosgcp.artifact.probes |
Name | get_docker_image_version_from_tag |
Return | mapping |
Usage
JSON
{
"name": "get-docker-image-version-from-tag",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosgcp.artifact.probes",
"func": "get_docker_image_version_from_tag",
"arguments": {
"repository": "",
"package_name": ""
}
}
}
YAML
name: get-docker-image-version-from-tag
provider:
arguments:
package_name: ""
repository: ""
func: get_docker_image_version_from_tag
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 | |
tag | string | latest | No | Tag | Version information for this particular tag |
Signature
def get_docker_image_version_from_tag(
repository: str,
package_name: str,
tag: str = 'latest',
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass