Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement KICS scans for repository (#348)
Implement code tests with KICS: https://kics.io/ This new workflow does the following: * Manually create an output directory * Use a predefined action to use the KICS security scanner on the whole repository. Configured to output results in the beforementioned directory. * Use another predefined action to upload the output in SARIF format so GitHub can interpret and visualize all found issues. The current configuration will *not* fail on any issues being detected. Code to activate failing is still in the comments and can be re-enabled as soon as we got the checks going and fixed the current issues. If we enable failing on certain issue levels we should also require the check to succeed before merging. Currently it's just informational and will not block merging. Predefined GitHub actions now aren't refered to by their version tag. Instead we use SHA checksums of Git commits. (as suggested by GitHub - see below) Please see comments from GitHub in this PR. They will make more clear what this all is for. Reference: * https://docs.kics.io/latest/integrations_ghactions/ * carbon-design-system/carbon#14052 * https://github.com/Checkmarx/kics-github-action Note: I tried to fix some of the findings. Unfortunately I did that after request for review and I know, I shouldn't do that. So I undid the changes and will start fixing stuff when this PR is merged.
- Loading branch information