veinmind-sensitive is an image sensitive information scanning tool developed by Chaitin Technology
- Quickly scan images for sensitive information
- Support custom sensitive information scanning rules
- Support container runtime
containerd
anddockerd
- linux/amd64
- linux/386
- linux/arm64
- linux/arm
-
install
libveinmind
firstlly ,you can click here offical document for more info -
install python dependencies which
veinmind-sensitive
need,execute the command in the project directorycp -r ./veinmind-common ./plugins/python/veinmind-sensitive && rm -rf ./plugins/python/veinmind-sensitive/veinmind-common/go cd ./plugins/python/veinmind-sensitive pip install -r requirements.txt
- Install by Parallel Container,pull
veinmind-sensitive
iamge and startdocker run --rm -it --mount 'type=bind,source=/,target=/host,readonly,bind-propagation=rslave' veinmind/veinmind-sensitive
- or start with the script which we provided
chmod +x parallel-container-run.sh && ./parallel-container-run.sh
-
Scan image with specified image name or ID(need to have a corresponding image locally)
python scan.py scan-images [imagename/imageid]
-
Scan all local images
python scan.py scan-images
-
Specify the container runtime type
python scan.py scan-images --containerd
container runtime type
- dockerd
- containerd
-
Specify output type
python scan.py --output [outputtype] scan-images
- id: rule identifier
- description: rule description
- match: content matching rules, the default is regular
- filepath: path matching rules, the default is regular
- env: environment variable matching rules, the default is regular and ignores case