Checkmarx / 2ms

Too many secrets (2MS) helps people protect their secrets on any file or on systems like CMS, chats and git
Apache License 2.0
80 stars 18 forks source link

feat: ignore files that not scanned usually #225

Closed baruchiro closed 8 months ago

baruchiro commented 8 months ago

Copied from gitleaks the "Allowlist" paths: paths that we didn't expect to find a secret there.

gitleaks.toml
(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket|vsidx|v2|suo|wsuo|.dll|pdb|exe)$
(go.mod|go.sum)$
gradle.lockfile
node_modules
package-lock.json
yarn.lock
pnpm-lock.yaml
Database.refactorlog
vendor
github-actions[bot] commented 8 months ago

kics-logo

KICS version: v1.7.13

| | Category | Results | | --- |--- | --- | | ![CRITICAL](https://github.com/Checkmarx/kics-github-action/assets/153724638/e73da659-8985-43a5-bb3c-ddbecd786690) | CRITICAL | 0 | | ![HIGH](https://user-images.githubusercontent.com/23239410/92157087-97285600-ee32-11ea-988f-0aca12c4c126.png) | HIGH | 0 | | ![MEDIUM](https://user-images.githubusercontent.com/23239410/92157093-98598300-ee32-11ea-83d7-af52251a011b.png) | MEDIUM | 0 | | ![LOW](https://user-images.githubusercontent.com/23239410/92157091-98598300-ee32-11ea-8498-19bd7d62019b.png) | LOW | 0 | | ![INFO](https://user-images.githubusercontent.com/75368139/137872145-b13b5200-6919-43c2-a49b-d3fdbbc20f63.png) | INFO | 0 | | ![TRACE](https://user-images.githubusercontent.com/23239410/92157090-97c0ec80-ee32-11ea-9b2e-aa6b32b03d54.png) | TRACE | 0 | | ![TOTAL](https://user-images.githubusercontent.com/75368139/137874724-5118ebc4-9769-4eb2-923d-e4ca479f747f.png) | TOTAL | 0 | | Metric | Values | | --- | --- | | Files scanned ![placeholder](https://user-images.githubusercontent.com/75368139/137874724-5118ebc4-9769-4eb2-923d-e4ca479f747f.png) | 1 | Files parsed ![placeholder](https://user-images.githubusercontent.com/75368139/137874724-5118ebc4-9769-4eb2-923d-e4ca479f747f.png) | 1 | Files failed to scan ![placeholder](https://user-images.githubusercontent.com/75368139/137874724-5118ebc4-9769-4eb2-923d-e4ca479f747f.png) | 0 | Total executed queries ![placeholder](https://user-images.githubusercontent.com/75368139/137874724-5118ebc4-9769-4eb2-923d-e4ca479f747f.png) | 49 | Queries failed to execute ![placeholder](https://user-images.githubusercontent.com/75368139/137874724-5118ebc4-9769-4eb2-923d-e4ca479f747f.png) | 0 | Execution time ![placeholder](https://user-images.githubusercontent.com/75368139/137874724-5118ebc4-9769-4eb2-923d-e4ca479f747f.png) | 1