InSpec 审核和测试框架开源项目

我要开发同款
匿名用户2016年03月21日
12阅读
开发技术C/C++
所属分类开发工具、测试工具
授权协议Apache

作品详情

InSpec是一款人类和机器可读语言的基础设施开源测试框架,它用于确保规范性,安全性和政策要求。

# Disallow insecure protocols by testingdescribe package('telnetd') do  it { should_not be_installed }  end  describe inetd_conf do    its("telnet") { should eq nil }end

不管什么时候需要InSpec都能很容易地运行你的测试程序

# run test locallyinspec exec test.rb# run test on remote host on SSHinspec exec test.rb -t ssh://user@hostname# run test on remote windows host on WinRMinspec exec test.rb -t winrm://Administrator@windowshost --password 'your-password'# run test on docker containerinspec exec test.rb -t docker://container_id

特性:

Built-inCompliance:Compliancenolongeroccursattheendofthereleasecycle

TargetedTests:InSpecwritesteststhatspecificallytargetcomplianceissues

Metadata:Includesthemetadatarequiredbysecurityandcompliancepros

EasyTesting:Includesacommand-lineinterfacetoruntestsquickly

查看全文
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论