Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaitin/veinmind-action
基于 veinmind-tools 实现的 Github Action
https://github.com/chaitin/veinmind-action
action cloud container image security
Last synced: about 2 months ago
JSON representation
基于 veinmind-tools 实现的 Github Action
- Host: GitHub
- URL: https://github.com/chaitin/veinmind-action
- Owner: chaitin
- License: mit
- Created: 2022-04-24T06:27:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T05:29:08.000Z (almost 2 years ago)
- Last Synced: 2024-03-15T11:20:56.303Z (9 months ago)
- Topics: action, cloud, container, image, security
- Language: Dockerfile
- Homepage:
- Size: 12.7 KB
- Stars: 8
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Veinmind Action
> 基于 [veinmind-tools]() 实现的 [Github Action]()
![](https://dinfinite.oss-cn-beijing.aliyuncs.com/image/20220424161009.png)
## 🕹️ 快速开始
扫描在 Action 过程中构建的镜像
```
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build image from your dockerfile
run: docker build -t my-app:${{ github.sha }} .
- name: Run veinmind-tools to scan image
uses: chaitin/veinmind-action@main
with:
scan-action: scan-host
image-ref: 'my-app:${{ github.sha }}'
```## 🏳️🌈 参数设置
| 参数名称 | 参数作用 | 默认值 |
| ----------- | ---------------------------- |-------------|
| scan-action | 扫描功能类型 | scan-host |
| image-ref | 镜像 Reference | |
| exit-code | 当发现安全问题时的程序退出码 | 0 |
| output | 报告输出名称 | report.json |