probeArtifact

list_severe_or_critical_vulnerabilities_in_most_recent_image

List all severe and critical vulnerabilities for the most recent tag

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaosgcp.artifact.probes
Namelist_severe_or_critical_vulnerabilities_in_most_recent_image
Returnlist

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

NameTypeDefaultRequiredTitleDescription
repositorystringYesRepositoryName of the repository
package_namestringYesContainer NameName 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