clowdhaus / argo-cd-action

GitHub action for executing Argo CD 🦑
Apache License 2.0
75 stars 14 forks source link

Security: Can the checksum/SLSA provenance of the downloaded ArgoCD cli be verified? #25

Open dannystaple opened 11 months ago

dannystaple commented 11 months ago

Is your feature request related to a problem? Please describe. Supply chain injections are becoming a common security flaw in CI systems and build chains. This includes:

Describe the solution you'd like

ArgoCD provides multiple mechanisms to validate the authenticity of the download, with SLSA and weaker SHA256 checksums available. Using one of these to verify the provenance of the intended version improves the integrity of using the dependancy.

This would be in the code to download ArgoCD for use by this action.

Using the SLSA method is preferred as it is more secure.

Describe alternatives you've considered Using the simpler SHA256 mechanism. Performing these actions without using this repository.

Additional context Add any other context or screenshots about the feature request here.

bryantbiggs commented 10 months ago

Makes sense - we can look at adding this in, thank you!