We have installed the Trivy extension from the marketplace and traying to scan cloned repositories to be visualized on its Dashboard here it is our .yaml
trigger:
- main
jobs:
- job: Scan_Repository
steps:
- checkout: self
…
Trivy scanner is unable to take the updated version(7.5.2) and still throws error in the build(showing installed version as 7.5.1).
(alpine 3.17.4)
Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
Node.js (node-pkg)
Total: 1 (UNKNOWN:…
I have got a step within an Azure DevOps pipeline which scans a container using trivy.
The Azure powershell task as as follows.
trivy -v
$folder = Get-Location
$filename = "report-$(Build.BuildId)-$(Build.DefinitionName).json"
trivy image -f json -o…
I have upgraded from Springboot 2.7.12 to 3.1.0 in order to upgrade Snakeyaml dependency to 2.0 version, which isn't vulnerable. That required gradle and java version upgrade.
However, now I'm getting the below error, thre 2.0 snakeyaml isn't…
We have Bouncycastle dependencies, coming from one dependency and another one. Sothey are something like that:
implementation 'org.bouncycastle:bcprov-jdk14:1.61' <- explicitly added
'bouncycastle:bcprov-jdk14:138' <- taken from another…
I'm new to Harbor registry. I was asked to propose an architecture for harbor in my company. I proposed at first to use an architecture based on proxy cache. But the CISO refused to use proxy cache for the entreprise without saying why. I proposed…
I'm trying to generate a HTML report from Trivy. On the example page, they provide trivy image --format template --template "@contrib/html.tpl" -o report.html golang:1.12-alpine. When I run this, I get the following error,
FATAL report error:…
I use the trivy GitHub action (aquasecurity/trivy-action@master) to scan my nestjs project, but keep getting the below vulnerabilities even though I have not used those packages directly and indirectly (no trace of them in my yarn.lock). why would…
apiVersion: argoproj.io/v1alpha1
kind: Workflow # new type of k8s spec
metadata:
generateName: trivy-scan # name of the workflow spec
spec:
entrypoint: trivy-scan # invoke the whalesay template
templates:
-…
We are using Sonatype Nexus as registry to host our docker images. The manifests of all our recently built/pushed images have some layers with missing size attributes (see example). We checked the referred files in the blob-storage, they are all…
I am using trivy github actions.
How do I set the exit code to 0 in trivy github actions if there are no CRITICAL vulnerabilities and HIGH less than 5?
I have this deployement.yaml file :
kind: "Template"
apiVersion: "v1"
metadata:
name: "deploymentConfig-gui-template-${Platform}"
annotations:
description: "Template for gui deploymentConfig on ${Platform}"
objects:
- kind:…
gitlab container_scanning fails with thoses 4 errors on docker deamon, initialize Podman client, containerd deamon and repository authentication.
Thais is the log:
....
trivy image --vuln-type os --no-progress --offline-scan --skip-update…
I am getting this error when using this flag --security-checks:
$ trivy --quiet image --security-checks .secrets $TRIVY_ARGS $TRIVY_SCAN_IMAGE
2023-02-03T17:49:34.457Z FATAL flag error: scan flag error: unable to parse security checks: unknown…
I am using Trivy for container scanning. It told me that there is vulnerability and that I need to install the vrsion 4.16.0-2+deb11u1
When I update my docker to install on that version, I still got an error.
Dockerfile
...
RUN apt-get update
#…