审核和测试框架 InSpec

码农软件 · 软件分类 · 测试工具 · 2019-11-21 18:41:37

软件介绍

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

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

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

# run test locally
inspec exec test.rb
# run test on remote host on SSH
inspec exec test.rb -t ssh://user@hostname
# run test on remote windows host on WinRM
inspec exec test.rb -t winrm://Administrator@windowshost --password 'your-password'
# run test on docker container
inspec exec test.rb -t docker://container_id

特性:

  • Built-in Compliance: Compliance no longer occurs at the end of the release cycle

  • Targeted Tests: InSpec writes tests that specifically target compliance issues

  • Metadata: Includes the metadata required by security and compliance pros

  • Easy Testing: Includes a command-line interface to run tests quickly

本文地址:https://codercto.com/soft/d/19495.html

利用Python进行数据分析

利用Python进行数据分析

Wes McKinney / 唐学韬 / 机械工业出版社 / 2013-11-18 / 89.00

【名人推荐】 “科学计算和数据分析社区已经等待这本书很多年了:大量具体的实践建议,以及大量综合应用方法。本书在未来几年里肯定会成为Python领域中技术计算的权威指南。” ——Fernando Pérez 加州大学伯克利分校 研究科学家, IPython的创始人之一 【内容简介】 还在苦苦寻觅用Python控制、处理、整理、分析结构化数据的完整课程?本书含有大量的实践案例,......一起来看看 《利用Python进行数据分析》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码