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

refactor: use interface for source item instead of struct #221

Closed baruchiro closed 8 months ago

baruchiro commented 8 months ago

This pull request updates the code to use an interface for the source item instead of a struct. This change improves code flexibility and maintainability.

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