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

and so it begins... #2

Merged
merged 1 commit into from
Aug 5, 2024

and so it begins...

021428b
Select commit
Loading
Failed to load commit list.
Merged

and so it begins... #2

and so it begins...
021428b
Select commit
Loading
Failed to load commit list.
NShiftKey / NShiftKey - Dockerfile & IaC misconfiguration required action Aug 5, 2024 in 1m 0s

Summary

  • 3 security issue(s)
    • High : 1
    • Medium : 1
    • Low : 1

Details

NShiftKey

  • 'RUN cd ...' to change directory

    • Description : Use WORKDIR instead of proliferating instructions like 'RUN cd … && do-something', which are hard to read, troubleshoot, and maintain.
    • Countermeasure : RUN should not be used to change directory: 'mkdir /syndata && cd /root/git/synapse && python setup.py install && cp synapse/docker/cortex/ram_dmon.json /syndata/dmon.json'. Use 'WORKDIR' statement instead.