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

macro(user_read_sensitive_file_containers): replace endswiths with ex… #1349

Merged
merged 5 commits into from
Aug 13, 2020

Conversation

Kaizhe
Copy link
Contributor

@Kaizhe Kaizhe commented Aug 7, 2020

…act image repo name

macro(user_trusted_containers): replace endswiths with exact image repo name
macro(user_privileged_containers): replace endswiths with exact image repo name
macro(trusted_images_query_miner_domain_dns): replace endswiths with exact image repo name
macro(falco_privileged_containers): append "/" to quay.io/sysdig
list(falco_privileged_images): add images docker.io/sysdig/agent-slim and docker.io/sysdig/node-image-analyzer
list(falco_sensitive_mount_images): add image docker.io/sysdig/agent-slim
list(k8s_containers): prepend docker.io to images

Signed-off-by: kaizhe [email protected]

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:

Reduce false negative

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

rule(macro user_read_sensitive_file_containers): replace endswiths with exact image repo name
rule(macro user_trusted_containers): replace endswiths with exact image repo name
rule(macro user_privileged_containers): replace endswiths with exact image repo name
rule(macro trusted_images_query_miner_domain_dns): replace endswiths with exact image repo name
rule(macro falco_privileged_containers): append "/" to quay.io/sysdig
rule(list falco_privileged_images): add images docker.io/sysdig/agent-slim and docker.io/sysdig/node-image-analyzer
rule(list falco_sensitive_mount_images): add image docker.io/sysdig/agent-slim
rule(list k8s_containers): prepend docker.io to images

@Kaizhe Kaizhe requested a review from mstemm August 7, 2020 23:52
@poiana poiana requested a review from leodido August 7, 2020 23:52
@Kaizhe Kaizhe requested review from krisnova and removed request for leodido August 7, 2020 23:52
mstemm
mstemm previously approved these changes Aug 12, 2020
@poiana
Copy link
Contributor

poiana commented Aug 12, 2020

LGTM label has been added.

Git tree hash: d42cef16217d57157fae3b553d22296124cda3d1

Kaizhe added 5 commits August 13, 2020 10:46
…act image repo name

macro(user_trusted_containers): replace endswiths with exact image repo name
macro(user_privileged_containers): replace endswiths with exact image repo name
macro(trusted_images_query_miner_domain_dns): replace endswiths with exact image repo name
macro(falco_privileged_containers): append "/" to quay.io/sysdig
list(falco_privileged_images): add images docker.io/sysdig/agent-slim and docker.io/sysdig/node-image-analyzer
list(falco_sensitive_mount_images): add image docker.io/sysdig/agent-slim
list(k8s_containers): prepend docker.io to images

Signed-off-by: kaizhe <[email protected]>
Signed-off-by: kaizhe <[email protected]>
@poiana
Copy link
Contributor

poiana commented Aug 13, 2020

LGTM label has been added.

Git tree hash: 39ca1d9c7feb841545732e387c55afa3999e120c

@poiana poiana merged commit 1bb0a9b into master Aug 13, 2020
@poiana poiana deleted the kh_fix-ends-with-image branch August 13, 2020 18:34
@poiana
Copy link
Contributor

poiana commented Aug 13, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fntlnz, mstemm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@leogr leogr added this to the 0.25.0 milestone Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants