-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update summary #199
Update summary #199
Conversation
Signed-off-by: David Wertenteil <dwertent@armosec.io>
PR Description updated to latest commit (f2eabc2) |
PR Analysis
PR Feedback💡 General suggestions: The PR seems to be well-structured and follows good coding practices. However, it would be beneficial to include tests for the new functions introduced in this PR. This would help ensure the correctness of the code and prevent potential bugs in the future. Also, it would be helpful to add comments explaining the purpose and functionality of the new functions and changes for better maintainability. 🤖 Code feedback:
✨ Usage tips:
|
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
…age-multiple-creds Signed-off-by: Amir Malka <amirm@armosec.io>
Fix scan image multiple creds
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.3 to 1.3.7. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](cloudflare/circl@v1.3.3...v1.3.7) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…om/cloudflare/circl-1.3.7 Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Fix serveraddress parsing, log appropriate message in case of rate limiting by the configured backend
Signed-off-by: David Wertenteil <dwertent@armosec.io>
Signed-off-by: David Wertenteil <dwertent@armosec.io>
Signed-off-by: David Wertenteil <dwertent@armosec.io>
Signed-off-by: David Wertenteil <dwertent@armosec.io>
…into enrich-report Signed-off-by: David Wertenteil <dwertent@armosec.io>
Signed-off-by: David Wertenteil <dwertent@armosec.io>
|
GitGuardian id | Secret | Commit | Filename | |
---|---|---|---|---|
9273905 | Generic High Entropy Secret | 5ef2b88 | core/services/scan_test.go | View secret |
9273905 | Generic High Entropy Secret | f14d7b5 | core/services/scan_test.go | View secret |
9273906 | Generic High Entropy Secret | 5ef2b88 | core/services/scan_test.go | View secret |
9273906 | Generic High Entropy Secret | f14d7b5 | core/services/scan_test.go | View secret |
9273907 | Generic High Entropy Secret | f14d7b5 | core/services/scan_test.go | View secret |
9273907 | Generic High Entropy Secret | 5ef2b88 | core/services/scan_test.go | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
Signed-off-by: David Wertenteil <dwertent@armosec.io>
Signed-off-by: David Wertenteil <dwertent@armosec.io>
Type
enhancement, bug_fix
Description
This PR primarily focuses on enhancing the reporting and handling of CVEs:
AttributeApiVersion
handling in theSubmitCVE
function inadapters/v1/backend.go
.ApiVersion
in the summary report inadapters/v1/backend_utils.go
.PackageType
andCoordinates
to the vulnerability result inadapters/v1/domain_to_armo.go
.GetCVESummary
to theCVERepository
interface incore/ports/repositories.go
.ScanCVE
function incore/services/scan.go
to store summary CVE if it does not exist.GetCVESummary
function inrepositories/apiserver.go
,repositories/broken.go
, andrepositories/memory.go
.github.com/armosec/armoapi-go
fromv0.0.254
tov0.0.294
ingo.mod
.PR changes walkthrough
1 files
mockplatform.go
adapters/mockplatform.go
Removed unused import and error handling related to empty
reports in the
SubmitCVE
function.8 files
backend.go
adapters/v1/backend.go
Added handling for
AttributeApiVersion
in theSubmitCVE
function.
backend_utils.go
adapters/v1/backend_utils.go
Added
ApiVersion
to the summary report in thesummarize
function.
domain_to_armo.go
adapters/v1/domain_to_armo.go
Added
PackageType
andCoordinates
to the vulnerabilityresult. Also added a function to convert syft coordinates to
coordinates.
repositories.go
core/ports/repositories.go
Added
GetCVESummary
function to theCVERepository
interface.
scan.go
core/services/scan.go
Added handling for storing summary CVE if it does not exist
in the
ScanCVE
function. Also addedinstanceID
to thelogging information.
apiserver.go
repositories/apiserver.go
Added
GetCVESummary
function to retrieve summary CVEmanifest. Also updated the
StoreCVESummary
function tohandle update conflicts.
broken.go
repositories/broken.go
Added
GetCVESummary
function that returns a newVulnerabilityManifestSummary
.memory.go
repositories/memory.go
Added
GetCVESummary
function that returns nil.1 files
go.mod
go.mod
Updated the version of
github.com/armosec/armoapi-go
fromv0.0.254
tov0.0.294
.User description
Overview