slim
slim copied to clipboard
Guide on Code Security Scanning
Purpose
- Add new security scanning guide focused on the NASA SCRUB tool
Proposed Changes
- [ADD] README contents
Issues
- #25
Testing
- Locally tested with sample repository: full scan, pre-commit hook
- See rendered guide here: https://github.com/NASA-AMMOS/slim/tree/issue_25/docs/guides/software-lifecycle/security/security-scanning
@ingyhere - just a note, adding labels for the type of SLIM best practice category each PR applies to (i.e. governance, software lifecycle, information sharing) helps to make future release notes more readable. See information about categories here.
Also - adding the SLIM Project Board in the PR right hand menu, and tagging the status as well as the iteration helps people understand the time line for the PR.
@ingyhere - just a note, adding labels for the type of SLIM best practice category each PR applies ...
Also - adding the SLIM Project Board in the PR right hand menu, and tagging the status ...
Done
@jpl-jengelke, ~~quick favor: when this moves out of "draft" state, could you ping me @nutjob4life? I tend to mute draft PRS both logically and mentally 😇~~ Nevermind, I saw it go out of draft "live" during the tag-up meeting on 2024-05-02
Superbly written guide with a great cadence and feel as well as utility. Should make SCRUB a much easier pill to swallow. Bravo! 🎉
Unfortunately as things go ... I see some areas for improvement. But I will make changes and ask for re-review.
It would be helpful to get an example of how to use sonarCloud and sonarQube in the action to align with updated guidance from NASA MGSS. Some of this work my already have been performed by Elyssa but it would be good to have it documented here as well.
It would be helpful to get an example of how to use sonarCloud and sonarQube in the action to align with updated guidance from NASA MGSS. Some of this work my already have been performed by Elyssa but it would be good to have it documented here as well.
Just to clarify - @jl-0 you're talking about the Enterprise versions for each? Not the community open source license ones? e.g. https://www.sonarsource.com/plans-and-pricing/
FYI, I've got an "experience report" when it comes to using Grype for container image scanning, and over in PDS we ran into an issue with multiplatform images inside of a GitHub Actions workflow.
We're big fans of multiplatform images so that our Apple Silicon (arm64
) users can run things natively while we still run amd64
images on servers.
The SLIM guide references Anchore's guide which we followed. But it turns out the docker buildx build
with --load
fails if you're using multiplatform images.
You can read the sordid details if you're curious; and I've got several workarounds there too.
Anyway hope this helps!
FYI, I've got an "experience report" when it comes to using Grype for container image scanning, and over in PDS we ran into an issue with multiplatform images inside of a GitHub Actions workflow.
@nutjob4life I'll contact you in the next couple days to get clarification on the comments. Thanks.