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: enable libs independent of policies #4181

Closed
simar7 opened this issue May 5, 2023 · 1 comment
Closed

feat: enable libs independent of policies #4181

simar7 opened this issue May 5, 2023 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. scan/misconfiguration Issues relating to misconfiguration scanning

Comments

@simar7
Copy link
Member

simar7 commented May 5, 2023

A user might need to pass in a custom policy that uses a rego library (e.g. https://github.com/aquasecurity/defsec/blob/master/rules/kubernetes/lib/kubernetes.rego) that we provide. Today it is not possible to use a custom policy like such without providing both the policy and the library.

Relevant Trivy PR: #4070
Releant defsec PR/issue: https://github.com/aquasecurity/defsec/issues/1299

@simar7 simar7 added the kind/feature Categorizes issue or PR as related to a new feature. label May 5, 2023
@knqyf263 knqyf263 added priority/backlog Higher priority than priority/awaiting-more-evidence. scan/misconfiguration Issues relating to misconfiguration scanning labels May 7, 2023
simar7 added a commit that referenced this issue Jun 23, 2023
Implements: #4181

Signed-off-by: Simar <simar@linux.com>
simar7 added a commit that referenced this issue Jul 16, 2023
Implements: #4181

Signed-off-by: Simar <simar@linux.com>
simar7 added a commit that referenced this issue Jul 20, 2023
Implements: #4181

Signed-off-by: Simar <simar@linux.com>
github-merge-queue bot pushed a commit that referenced this issue Jul 23, 2023
* feat(misconf): Add support for independently enabling libraries

Implements: #4181

Signed-off-by: Simar <simar@linux.com>

* update tests

Signed-off-by: Simar <simar@linux.com>

* fix lint

Signed-off-by: Simar <simar@linux.com>

* fix tests

Signed-off-by: Simar <simar@linux.com>

* update defsec

Signed-off-by: Simar <simar@linux.com>

* fix test

Signed-off-by: Simar <simar@linux.com>

---------

Signed-off-by: Simar <simar@linux.com>
Co-authored-by: knqyf263 <knqyf263@gmail.com>
@simar7
Copy link
Member Author

simar7 commented Jul 25, 2023

Closed via #4070

@simar7 simar7 closed this as completed Jul 25, 2023
AnaisUrlichs pushed a commit to AnaisUrlichs/trivy that referenced this issue Aug 10, 2023
…security#4070)

* feat(misconf): Add support for independently enabling libraries

Implements: aquasecurity#4181

Signed-off-by: Simar <simar@linux.com>

* update tests

Signed-off-by: Simar <simar@linux.com>

* fix lint

Signed-off-by: Simar <simar@linux.com>

* fix tests

Signed-off-by: Simar <simar@linux.com>

* update defsec

Signed-off-by: Simar <simar@linux.com>

* fix test

Signed-off-by: Simar <simar@linux.com>

---------

Signed-off-by: Simar <simar@linux.com>
Co-authored-by: knqyf263 <knqyf263@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. scan/misconfiguration Issues relating to misconfiguration scanning
Projects
Status: No status
Development

No branches or pull requests

2 participants