Skip to content
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

use hashed instanceID for relevant SBOM #70

Merged
merged 3 commits into from
Mar 27, 2023
Merged

use hashed instanceID for relevant SBOM #70

merged 3 commits into from
Mar 27, 2023

Conversation

matthyx
Copy link
Contributor

@matthyx matthyx commented Mar 27, 2023

No description provided.

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
@@ -122,7 +100,7 @@ func (a *APIServerStore) StoreCVE(ctx context.Context, cve domain.CVEManifest, w
name := hashFromImageID(cve.ID)
annotations := map[string]string{domain.ImageTagKey: cve.ID}
if withRelevancy {
name = hashFromInstanceID(cve.ID)
name = cve.ID
annotations = map[string]string{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy the labels from the SBOM'

@github-actions
Copy link

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: success

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
@github-actions
Copy link

Summary:

  • License scan: failure
  • Credentials scan: success
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: success

@dwertent dwertent merged commit 2c2cd52 into main Mar 27, 2023
@matthyx matthyx deleted the instanceid branch March 28, 2023 08:34
dwertent pushed a commit that referenced this pull request Dec 31, 2023
* add version to spans

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>

* instanceID is now hashed, use directly for SBOM'

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>

* add labels to relevant CVE from SBOM

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>

---------

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants