User Tools

Site Tools


сканер_trivy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сканер_trivy [2026/03/18 14:22]
val
сканер_trivy [2026/06/09 08:56] (current)
val
Line 7: Line 7:
  
 <​code>​ <​code>​
-docker run --rm aquasec/​trivy image nginx+docker run --rm aquasec/trivy image nginx 
 +  или 
 +$ docker run --rm aquasec/​trivy:​0.69.3 image nginx 
 +  или 
 +$ docker run --rm ghcr.io/​aquasecurity/trivy image nginx
  
-docker run --rm -v $HOME/​.cache/:/​root/​.cache/ ​aquasec/trivy image nginx+$ time docker run --rm -v $HOME/​.cache/:/​root/​.cache/ ​ghcr.io/​aquasecurity/trivy image nginx 
 +</​code>​ 
 +  * Docker образ [[Технология Docker#​Приложение python pywebd]] 
 +<​code>​ 
 +$ docker run --rm -v $HOME/​.cache/:/​root/​.cache/​ ghcr.io/​aquasecurity/​trivy --insecure image gitlab.corpX.un:​5000/​student/​pywebd
  
-docker run --rm -v $HOME/​.cache/:/​root/​.cache/ ​aquasec/​trivy ​--insecure image gitlab.corp13.un:5000/student/pywebd+docker run --rm -v $HOME/​.cache/:/​root/​.cache/​ -v /​var/​run/​docker.sock:/var/run/​docker.sock ghcr.io/​aquasecurity/​trivy image pywebd
  
-docker run --rm -v $HOME/​.cache/:/​root/​.cache/​ -v /​var/​run/​docker.sock:/​var/​run/​docker.sock ​aquasec/​trivy image pywebd +docker run --rm -v $HOME/​.cache/:/​root/​.cache/ ​
- +  ​-v /​var/​run/​docker.sock:/​var/​run/​docker.sock ​\ 
-$ docker run -v /var/​run/​docker.sock:/var/run/docker.sock -v $HOME/Library/​Caches:/​root/.cacheaquasec/trivy image gitlab.corp13.un:​5000/​student/​pywebd +  -v $(pwd)/.trivyignore:/work/.trivyignore ​-/work
-$ docker run -v /var/​run/​docker.sock:/var/​run/​docker.sock ​-v $HOME/​Library/​Caches:/​root/​.cache/​ aquasec/​trivy image pywebd+  ghcr.io/aquasecurity/​trivy ​--exit-code 1 --severity HIGH image pywebd ​&& echo OK || echo Problems 
 +   
 +~/pywebd# cat .trivyignore 
 +</code><​code>​ 
 +CVE-2026-28390 
 +CVE-2026-22184 
 +CVE-2026-23949 
 +#​CVE-2026-24049
 </​code>​ </​code>​
  
сканер_trivy.1773832935.txt.gz · Last modified: 2026/03/18 14:22 by val