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

NET_RAW Capabilities Not Being Dropped @ /deploy/k8s/base/workshop/deployment.yaml #70

Open
AaronZhouYu opened this issue Feb 7, 2023 · 0 comments

Comments

@AaronZhouYu
Copy link
Owner

AaronZhouYu commented Feb 7, 2023

Checkmarx (IaC-Security): NET_RAW Capabilities Not Being Dropped
Checkmarx Project: AaronZhouYu/TotallySecureApp
Repository URL: https://github.com/AaronZhouYu/TotallySecureApp
Branch: main
Scan ID: d9fa6dd5-d23b-4436-b75a-41a016305f39


Containers should drop 'ALL' or at least 'NET_RAW' capabilities

Locations:

Result #1:
Severity: MEDIUM
State: TO_VERIFY
Status: RECURRENT
    File: /deploy/k8s/base/workshop/deployment.yaml[16,0]
    Expected value: metadata.name={{crapi-workshop}}.spec.template.spec.initContainers.name={{wait-for-crapi-identity}}.securityContext.capabilities.drop should be defined
    Actual value: metadata.name={{crapi-workshop}}.spec.template.spec.initContainers.name={{wait-for-crapi-identity}}.securityContext.capabilities.drop is undefined
    Review result in Checkmarx One: NET_RAW Capabilities Not Being Dropped

Result #2:
Severity: MEDIUM
State: TO_VERIFY
Status: RECURRENT
    File: /deploy/k8s/base/workshop/deployment.yaml[22,0]
    Expected value: metadata.name={{crapi-workshop}}.spec.template.spec.initContainers.name={{wait-for-crapi-community}}.securityContext.capabilities.drop should be defined
    Actual value: metadata.name={{crapi-workshop}}.spec.template.spec.initContainers.name={{wait-for-crapi-community}}.securityContext.capabilities.drop is undefined
    Review result in Checkmarx One: NET_RAW Capabilities Not Being Dropped

Result #3:
Severity: MEDIUM
State: TO_VERIFY
Status: RECURRENT
    File: /deploy/k8s/base/workshop/deployment.yaml[29,0]
    Expected value: metadata.name={{crapi-workshop}}.spec.template.spec.containers.name={{crapi-workshop}}.securityContext.capabilities.drop should be defined
    Actual value: metadata.name={{crapi-workshop}}.spec.template.spec.containers.name={{crapi-workshop}}.securityContext.capabilities.drop is undefined
    Review result in Checkmarx One: NET_RAW Capabilities Not Being Dropped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant