-
Notifications
You must be signed in to change notification settings - Fork 26
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
Implement certificate transparency monitoring workflow #536
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: linus-sun <[email protected]>
Signed-off-by: linus-sun <[email protected]>
Signed-off-by: linus-sun <[email protected]>
Signed-off-by: linus-sun <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #536 +/- ##
==========================================
- Coverage 64.02% 56.78% -7.24%
==========================================
Files 4 19 +15
Lines 303 1576 +1273
==========================================
+ Hits 194 895 +701
- Misses 78 591 +513
- Partials 31 90 +59 ☔ View full report in Codecov by Sentry. |
Signed-off-by: linus-sun <[email protected]>
8d35132
to
ced634c
Compare
|
||
monitoredValues := identity.MonitoredValues{ | ||
CertificateIdentities: config.MonitoredValues.CertificateIdentities, | ||
Subjects: config.MonitoredValues.Subjects, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need subjects, correct? Since subjects are just for special cases of SSH certificates or emails in keys
return | ||
} | ||
|
||
err = ct.RunConsistencyCheck(fulcioClient, config.LogInfoFile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we flip the order of these, to first check consistency before the identity check?
Summary
Per changes outlined in this doc, this PR implements the certificate transparency monitoring workflow functionality by doing the following:
ct_monitor.go
file to perform the identity monitor and consistency check functionality on a certificate transparency logThis PR depends on #527, #534, #535
Release Note
NONE
Documentation
N/A - future PRs will update documentation once the certificate transparency monitor is runnable from a reusable monitoring workflow