-
Notifications
You must be signed in to change notification settings - Fork 504
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
adds support to configure dashboard mode in k8s validating webhook #683
adds support to configure dashboard mode in k8s validating webhook #683
Conversation
2. add new line before error messages are appended
Codecov Report
@@ Coverage Diff @@
## master #683 +/- ##
==========================================
- Coverage 74.56% 73.28% -1.29%
==========================================
Files 110 110
Lines 3082 3099 +17
==========================================
- Hits 2298 2271 -27
- Misses 609 650 +41
- Partials 175 178 +3
|
ea11b5b
to
91156a6
Compare
warnings: false, | ||
allowed: true, | ||
wantStatus: http.StatusOK, | ||
}, | ||
{ | ||
name: "risky request object with config that just removes some of the violations", | ||
contentRequestPath: "./k8s_testdata/risky_testconfig.json", | ||
contentRequestPath: filepath.Join(k8sTestData, "risky_testconfig.json"), |
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.
Thank you for improving the tests!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
…lt (tenable#683) * config file not required for executor * test changes for blind mode * dashboard mode is not default * incorporate review changes
A new attribute
dashboard
is introduced fork8s-admission-control
in the terrascan config file.When
dashboard
is true, violations and admission review response would be logged to db, otherwise, the violations would be logged to the console.