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

docs: add docs tutorial on custom policies with rego #6104

Merged
merged 5 commits into from Feb 14, 2024

Conversation

AnaisUrlichs
Copy link
Member

Added tutorial on setting up a custom policy for your Dockerfile using Rego

Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com>
Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com>
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
docs/tutorials/misconfiguration/custom-policies.md Outdated Show resolved Hide resolved
Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com>
Copy link
Contributor

@itaysk itaysk left a comment

Choose a reason for hiding this comment

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

great thanks. we refer to policies and checks interchangeably, just wanna make sure it's intentional

@simar7
Copy link
Member

simar7 commented Feb 13, 2024

great thanks. we refer to policies and checks interchangeably, just wanna make sure it's intentional

We last agreed on calling everything a check #5609

Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com>
@AnaisUrlichs
Copy link
Member Author

@simar7 are we still planning to rename the flag --policy?
I made sure I referred to it everywhere as a check instead of a policy

@simar7
Copy link
Member

simar7 commented Feb 13, 2024

@simar7 are we still planning to rename the flag --policy?
I made sure I referred to it everywhere as a check instead of a policy

We should still support that for backwards compatibility but should add a newer flag --check and show a deprecation message for the old one --policy.

mkdocs.yml Outdated Show resolved Hide resolved
Copy link
Member

@simar7 simar7 left a comment

Choose a reason for hiding this comment

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

Left one comment but lgtm!

Co-authored-by: simar7 <1254783+simar7@users.noreply.github.com>
@knqyf263 knqyf263 added this pull request to the merge queue Feb 14, 2024
Merged via the queue into aquasecurity:main with commit 14a0981 Feb 14, 2024
7 checks passed
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.

None yet

4 participants