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

Configure lints separately for each profile #7636

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

aarongable
Copy link
Contributor

@aarongable aarongable commented Jul 26, 2024

Move the two lint-configuration keys, LintConfig and IgnoreLints, from the top-level CA.Issuance config stanza into each individual CA.Issuance.CertProfiles stanza. This allows us to have differently-configured lints for different profiles, to ensure that our linting regime is as strict as possible.

Without this change, it would be necessary for us to ignore both the "common name included" and the "no subject key id" lints at the top-level, when in fact each of those warnings only triggers on one of our two profiles.

Fixes #7635

No config change necessary at this time; that will happen as part of #7309
DO NOT MERGE until after #7622

jsha
jsha previously approved these changes Jul 29, 2024
Base automatically changed from profile-modernity to main July 31, 2024 18:08
@aarongable aarongable dismissed jsha’s stale review July 31, 2024 18:08

The base branch was changed.

@aarongable aarongable marked this pull request as ready for review July 31, 2024 18:09
@aarongable aarongable requested a review from a team as a code owner July 31, 2024 18:09
Copy link
Contributor

@aarongable, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

@aarongable
Copy link
Contributor Author

Now that #7622 has landed, I've rebased this on top of main and it's ready for re-review.

@aarongable aarongable merged commit 7b6935d into main Aug 1, 2024
15 checks passed
@aarongable aarongable deleted the per-profile-lints branch August 1, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make lints configurable on a per-profile basis
2 participants