zl程序教程

您现在的位置是:首页 >  工具

当前栏目

Jenkins使用aqua-microscanner-plugin进行容器漏洞扫描

Jenkins漏洞容器 进行 扫描 plugin 使用
2023-09-11 14:17:16 时间

官方地址:https://github.com/jenkinsci/aqua-microscanner-plugin

Step1

在jenkins安装"Aqua MicroScanner"插件

Step2

系统设置配置token,token获取地址:https://microscanner.aquasec.com/signup

Step3

Pipeline中添加扫描脚本

    stage('Aqua MicroScanner'){
        aquaMicroscanner imageName: 'xxx:latest',notCompliesCmd: 'exit 1',onDisallowed: 'fail'    
    }

构建后结果展示