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

Container Capabilities Unrestricted @ /docker-compose.yml #12

Open
Supakorn19934 opened this issue May 27, 2024 · 0 comments
Open

Container Capabilities Unrestricted @ /docker-compose.yml #12

Supakorn19934 opened this issue May 27, 2024 · 0 comments

Comments

@Supakorn19934
Copy link
Owner

Checkmarx (IaC-Security): Container Capabilities Unrestricted
Checkmarx Project: Supakorn19934/nginx-sticky
Repository URL: https://github.com/Supakorn19934/nginx-sticky
Branch: main
Scan ID: 98f1608e-e078-4f21-9ece-24ddb65d5a43


Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessary capabilities as well.

Locations:

Result 1:
Severity: LOW
State: TO_VERIFY
Status: NEW
    File: /docker-compose.yml[3,0]
    Expected value: Docker compose file to have 'cap_drop' attribute
    Actual value: Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.
    Review result in Checkmarx One: Container Capabilities Unrestricted

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