mirrors-cfn-nag:cfn-nag的预提交镜像

时间:2021-04-13 20:11:31
【文件属性】:
文件名称:mirrors-cfn-nag:cfn-nag的预提交镜像
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-13 20:11:31
Python mirrors-cfn-nag 的镜像。 此存储库还提供了一个包装程序,该包装程序仅允许在从预提交传递的文件上运行挂钩,而不是像在cfn-nag中那样在目录或单个文件上运行。 默认情况下,启用--fail-on-warnings 。 如果您要为此钩子更改args,请确保在末尾添加--input-path 。 用法 将此添加到您的.pre-commit-config.yaml : - repo : https://github.com/AleksaC/mirrors-cfn-nag rev : v0.6.13 # Use the sha / tag you want to point at hooks : - id : cfn-nag files : my-cfn-template.yml # Set to regex matching filenames o
【文件预览】:
mirrors-cfn-nag-master
----bin()
--------cfn_nag_scan_wrapper(589B)
----.pre-commit-hooks.yaml(288B)
----add-new-versions.py(2KB)
----LICENSE(1KB)
----tag.sh(145B)
----.gitignore(31B)
----pre_commit_fake_gem.gemspec(313B)
----.circleci()
--------config.yml(671B)
----README.md(727B)
----.editorconfig(179B)
----.gitattributes(48B)
----.pre-commit-config.yaml(262B)

网友评论