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

feat(conftest): Associate Rego policies with K8s resources #752

Merged
merged 1 commit into from
Oct 25, 2021
Merged

feat(conftest): Associate Rego policies with K8s resources #752

merged 1 commit into from
Oct 25, 2021

Conversation

danielpacak
Copy link
Contributor

@danielpacak danielpacak commented Oct 16, 2021

Implementation of #746

Signed-off-by: Daniel Pacak pacak.daniel@gmail.com

@codecov
Copy link

codecov bot commented Oct 19, 2021

Codecov Report

Merging #752 (1e7e1fe) into main (f4b4678) will decrease coverage by 0.40%.
The diff coverage is 61.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #752      +/-   ##
==========================================
- Coverage   66.18%   65.77%   -0.41%     
==========================================
  Files          58       58              
  Lines        6379     6487     +108     
==========================================
+ Hits         4222     4267      +45     
- Misses       1743     1792      +49     
- Partials      414      428      +14     
Impacted Files Coverage Δ
pkg/configauditreport/scanner.go 56.38% <42.85%> (-1.65%) ⬇️
pkg/operator/controller/plugins_config.go 50.00% <49.55%> (+4.54%) ⬆️
pkg/plugin/conftest/plugin.go 77.30% <73.68%> (-3.71%) ⬇️
pkg/operator/controller/configauditreport.go 65.19% <85.71%> (-3.88%) ⬇️
pkg/configauditreport/builder.go 79.31% <100.00%> (-1.73%) ⬇️
pkg/plugin/polaris/plugin.go 82.55% <100.00%> (ø)
pkg/operator/controller/vulnerabilityreport.go 66.04% <0.00%> (-1.86%) ⬇️
pkg/configauditreport/io.go 66.66% <0.00%> (-1.20%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa00227...1e7e1fe. Read the comment docs.

@danielpacak danielpacak added this to the Release v0.13.0 milestone Oct 19, 2021
@danielpacak danielpacak changed the title poc(conftest): Associate Rego policies with K8s resources feat(conftest): Associate Rego policies with K8s resources Oct 19, 2021
@danielpacak danielpacak marked this pull request as ready for review October 19, 2021 13:50
pkg/plugin/conftest/plugin.go Outdated Show resolved Hide resolved
pkg/plugin/conftest/plugin.go Outdated Show resolved Hide resolved
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
Copy link
Collaborator

@deven0t deven0t left a comment

Choose a reason for hiding this comment

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

Looks good!

@danielpacak danielpacak merged commit 7ef9060 into aquasecurity:main Oct 25, 2021
@danielpacak danielpacak deleted the poc/associate_rego_policies_with_k8s_resources branch October 25, 2021 13:45
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.

2 participants