CrowdStrike / falcon-scripts

Scripts to streamline the deployment and use of the CrowdStrike Falcon sensor
The Unlicense
127 stars 79 forks source link

Container pull script does not use latest image for falcon-imageanalyzer #302

Closed aywrite closed 1 month ago

aywrite commented 1 month ago

running a list tags operation you can see the latest image is 1.0.12

./falcon-container-sensor-pull.sh -t falcon-imageanalyzer --list-tags

{
  "name": "falcon-imageanalyzer",
  "repository": "registry.crowdstrike.com/falcon-imageanalyzer/us-2/release/falcon-imageanalyzer",
  "tags": [
     "0.42.0",
     "1.0.0",
     "1.0.1",
     "1.0.10",
     "1.0.11",
     "1.0.12",
     "1.0.2",
     "1.0.3",
     "1.0.8",
     "1.0.9"
  ]
}

However if you run a get image path it shows that the image that will be used (if version is not specified) is 1.0.9

./falcon-container-sensor-pull.sh -t falcon-imageanalyzer --get-image-path

registry.crowdstrike.com/falcon-imageanalyzer/us-2/release/falcon-imageanalyzer:1.0.9
carlosmmatos commented 1 month ago

This is indeed a bug. It should list tags sorted. I will get this fixed asap.