-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: Implementing certificate expiry detail in security dashboard #3000
Merged
Merged
Changes from 8 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6f2e908
feat: Implementing certificate expiry detail in security dashboard
Hardikl 26fab7c
feat: Handling review comments- REST only feature
Hardikl d3d3f3c
feat: handled review comments
Hardikl 46360f6
feat: renamed the plugin name
Hardikl 20f943b
feat: handling review comments
Hardikl ef462ae
feat: minor change
Hardikl 618b649
feat: added alert for expired certificates
Hardikl 75352c9
feat: reuse template and add color in dashboard table
Hardikl 3bd1170
feat: handling review comments
Hardikl adfa58f
feat: couple of changes in expiry_time for supporting zapi
Hardikl b2f4312
feat: handled review comments
Hardikl 457ee51
feat: using private cli with endpoint in rest
Hardikl e7590ff
feat: using private cli with endpoint in rest
Hardikl 8cab4f8
Merge remote-tracking branch 'origin/main' into hl_certificate_feat
Hardikl 2bc1d54
feat: minor review comment
Hardikl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
In this dashboard, root SVMs are excluded by default. Are we sure that root SVM certificates also need to be excluded for certificates?
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.
So, While checking the
security/certificates
Rest call, there are no certificates records for root svms. We are good to go here.Also, I would be adding the
scope
field, which showscluster
orsvm
to help customer to see the scope of the certificate.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.
Are you saying:
a) that root SVMs do not have certificates or
b) that ONTAP does not return certificates for root SVMs
I think you're saying that root SVM have certificates, but ONTAP is not returning them? If that's the case, we should check the expiry for root SVM certificates some other way
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.
So, there is little correction on my above note.
admin
andnode
svm (which we treat asroot svm
),admin
svm can have certificatesscope
is only in Rest) which means we don't get svm name in certificate in Rest calls.// Admin SVM certificate is cluster scoped, but the REST API does not return the SVM name in its response. Add here for ZAPI parity
So, even the SVM drop down have limited svms but this table shows certificates from all of them.
Screenshot from .127 system
Just to note, Above the table the stats count is showing those admin svm's certificates only(admin svm is unique in cluster) and not all of them.