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

add eks:node-manager to allowed_k8s_users list #1536

Merged
merged 1 commit into from
Feb 4, 2021
Merged

add eks:node-manager to allowed_k8s_users list #1536

merged 1 commit into from
Feb 4, 2021

Conversation

ismailyenigul
Copy link
Contributor

@ismailyenigul ismailyenigul commented Jan 26, 2021

eks:node-manager is an Amazon EKS internal service role that performs specific operations for managed node groups and Fargate.
Reference: https://github.com/awsdocs/amazon-eks-user-guide/blob/master/doc_source/logging-monitoring.md
Related falco log

{"output":"10:56:31.181308928: Warning K8s Operation performed by user not in allowed list of users
 (user=eks:node-manager target=aws-auth/configmaps verb=get uri=/api/v1/namespaces/kube-system/configmaps/aws-auth?timeout=19s resp=200)","priority":"Warning","rule":"Disallowed K8s User","time":"2021-01-26T10:56:31.181308928Z", "output_fields": 
{"jevt.time":"10:56:31.181308928","ka.response.code":"200","ka.target.name":"aws-auth","ka.target.resource":"configmaps","ka.uri":"/api/v1/namespaces/kube-system/configmaps/aws-auth?timeout=19s","ka.user.name":"eks:node-manager","ka.verb":"get"}}

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:
it adds eks:node-manager to allowed_k8s_users list
Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

rule(list allowed_k8s_users): add `eks:node-manager`

@poiana
Copy link

poiana commented Jan 26, 2021

Welcome @ismailyenigul! It looks like this is your first PR to falcosecurity/falco 🎉

@poiana poiana added the size/XS label Jan 26, 2021
@leogr
Copy link
Member

leogr commented Jan 26, 2021

Hi @ismailyenigul

Thank you for opening this PR! Anyway, before we can look into it, we need that all commits to be signed-off (you can find more detail here).

Let me know if you need any help.

eks:node-manager  is an Amazon EKS internal service role that performs specific operations for managed node groups and Fargate.
Reference: https://github.com/awsdocs/amazon-eks-user-guide/blob/master/doc_source/logging-monitoring.md
Related falco log

```
{"output":"10:56:31.181308928: Warning K8s Operation performed by user not in allowed list of users
 (user=eks:node-manager target=aws-auth/configmaps verb=get uri=/api/v1/namespaces/kube-system/configmaps/aws-auth?timeout=19s resp=200)","priority":"Warning","rule":"Disallowed K8s User","time":"2021-01-26T10:56:31.181308928Z", "output_fields":
{"jevt.time":"10:56:31.181308928","ka.response.code":"200","ka.target.name":"aws-auth","ka.target.resource":"configmaps","ka.uri":"/api/v1/namespaces/kube-system/configmaps/aws-auth?timeout=19s","ka.user.name":"eks:node-manager","ka.verb":"get"}}
```

Signed-off-by: ismailyenigul <ismailyenigul@gmail.com>
Copy link
Contributor

@Kaizhe Kaizhe left a comment

Choose a reason for hiding this comment

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

lgtm

@poiana
Copy link

poiana commented Jan 29, 2021

LGTM label has been added.

Git tree hash: f36014e6e48a9cd399a1bd192e012f0614e4b8d4

@Kaizhe Kaizhe removed the request for review from mstemm January 29, 2021 22:32
@Kaizhe
Copy link
Contributor

Kaizhe commented Jan 29, 2021

@ismailyenigul thank you for your contribution!

Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

/milestone 0.28.0

@poiana poiana added this to the 0.28.0 milestone Feb 1, 2021
@poiana
Copy link

poiana commented Feb 1, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Kaizhe, leogr

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

@poiana poiana merged commit 959811a into falcosecurity:master Feb 4, 2021
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.

None yet

4 participants