Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(acm): Improve near-expiration certificates check #4207

Merged

Conversation

puchy22
Copy link
Contributor

@puchy22 puchy22 commented Jun 7, 2024

Context

Improve all the changes commented about near-expiration certificates check commented in #3966.

Description

Check modified to be configurable and ignore unused certs (added all of this changes to docs yet), modified the severity in function of the cert situation (near expiration -> medium and expired -> high) and unit test have been modified to cover most cases with this new features.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@puchy22 puchy22 requested review from a team as code owners June 7, 2024 13:09
@github-actions github-actions bot added documentation provider/aws Issues/PRs related with the AWS provider labels Jun 7, 2024
sergargar
sergargar previously approved these changes Jun 7, 2024
Copy link
Member

@sergargar sergargar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, thanks @puchy22 !

sergargar
sergargar previously approved these changes Jun 7, 2024
@sergargar sergargar merged commit 1a225c3 into prowler-cloud:master Jun 7, 2024
9 of 10 checks passed
sergargar added a commit that referenced this pull request Jun 7, 2024
Co-authored-by: Sergio <sergio@prowler.com>
sergargar added a commit that referenced this pull request Jun 7, 2024
Co-authored-by: Sergio <sergio@prowler.com>
@sergargar sergargar removed the backport-v3 Pending to port to Prowler v3 branch label Jul 1, 2024
sergargar added a commit that referenced this pull request Jul 1, 2024
Co-authored-by: Sergio <sergio@prowler.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Separate Checks for Expired and Near-Expiration ACM Certificates
2 participants