inspec/CHANGELOG.md
Christoph Hartmann 85bba1a809 0.29.0
2016-08-08 13:32:36 +02:00

94 KiB

Change Log

0.29.0 (2016-08-08)

Full Changelog

Implemented enhancements:

  • port() could convert string parameter to integer #867
  • add params and content method to parse_config #876 (chris-rock)
  • Activate centos, debian and oracle linux in our travis tests #869 (chris-rock)

Fixed bugs:

  • 1.10.2 missing a space in failed test output #872
  • inspec fails to determine file_version for a file on a windows 2012R2 #858
  • os[:family] returns "centos" rather than "redhat" on my Centos 7.2 box #847
  • Inspec exec output when multiple matchers are used #812
  • Inspec Detect Issues #772
  • systemd is-enabled check does not handle backcompat with sysv-init scripts e.g. ntp on Ubuntu 16.04 #749
  • Update inspec for os[:family] change in Train #865 (stevendanna)
  • Use systemctl's helper command to determine enabled & active status #863 (stevendanna)

Closed issues:

  • bump train dependency #870
  • parse_config error when searching for fs.suid_dumpable #866
  • Improve integration tests #861
  • Adapt InSpec to work with latest train OS updates #855

Merged pull requests:

v0.28.1 (2016-08-03)

Full Changelog

Implemented enhancements:

  • InSpec output for summary needs to count controls #852

Fixed bugs:

  • Read Chef attributes within the tests ? #813
  • Docs for command use eq instead of match #502
  • fix color code barriers #838 (arlimus)

Closed issues:

  • Document all supported Operating Systems #842

Merged pull requests:

v0.28.0 (2016-07-21)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • prevent circular loading of resource library #831 (arlimus)

Merged pull requests:

v0.27.1 (2016-07-15)

Full Changelog

Fixed bugs:

  • Inconsistent json format caused by inconsistent hash keys #827

Closed issues:

  • wrong path detection for postgres conf_dir and conf_path #823

Merged pull requests:

  • FIX: file(hba_config_file) test in documentation #830 (atomic111)
  • Fix runner.rb key inconsistency #828 (alexpop)
  • FIX #823 wrong postgres path detection for conf_dir and conf_path #824 (atomic111)

v0.27.0 (2016-07-11)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • os resource not accessible within a describe #451
  • add suid sgid and sticky support for file resource #819 (arlimus)
  • pin gem version for ffi due to appveyor failures #816 (arlimus)
  • check service running by ActiveState #814 (arlimus)

Merged pull requests:

  • small fix for postgres_session documentation Test for risky database entries example #815 (atomic111)
  • Add array documentation to yaml / json resource #803 (brentm5)
  • Updating ctl docs to include the init command #802 (ChefRycar)
  • add documentation for bash resource #799 (chris-rock)
  • align inspec's check, detect, and exec cli formatters #797 (arlimus)

v0.26.0 (2016-06-16)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Transport error while trying to ssh to mac osx #788

Closed issues:

  • Can't upload inherited profile #789

Merged pull requests:

v0.25.0 (2016-06-14)

Full Changelog

Closed issues:

  • Why mode matcher doesn't work on a file resource #781

Merged pull requests:

v0.24.0 (2016-06-03)

Full Changelog

Implemented enhancements:

  • support intra-libraries file referencing + loading #780 (arlimus)

Merged pull requests:

  • Update documentation for matching output of commands #777 (tas50)

v0.23 (2016-05-31)

Full Changelog

Implemented enhancements:

Closed issues:

  • inspec hangs on command('ausearch -k docker').stdout #768
  • registry_key test failing on Windows 2008 R2 #767
  • InSpec login successful with wrong username #766

Merged pull requests:

v0.22.1 (2016-05-18)

Full Changelog

Fixed bugs:

Closed issues:

  • port resource fails in docker containers because netstat is missing, but gives poor error output as to why. #762
  • Add support for alternate sudo command #755
  • Chef Compliance Server UI - Need capability to remove an uploaded profile #712

v0.22.0 (2016-05-16)

Full Changelog

Implemented enhancements:

Merged pull requests:

v0.21.6 (2016-05-13)

Full Changelog

Fixed bugs:

v0.21.5 (2016-05-13)

Full Changelog

Fixed bugs:

  • fix construction of ruby objects on string and array handlers #746 (arlimus)

v0.21.4 (2016-05-13)

Full Changelog

Implemented enhancements:

v0.21.3 (2016-05-11)

Full Changelog

Fixed bugs:

  • Return empty array instead of nil for port methods #739 (alexpop)

Merged pull requests:

  • deprecate array matcher #737 (chris-rock)
  • Escape os_env command on Windows to handle env variables containing parentheses. #735 (tpcwang)

v0.21.2 (2016-05-11)

Full Changelog

Implemented enhancements:

  • Read SELinux labels for processes #726
  • Fix contain_match, add none_match #736 (alexpop)

Fixed bugs:

v0.21.1 (2016-05-10)

Full Changelog

Fixed bugs:

Merged pull requests:

v0.21.0 (2016-05-10)

Full Changelog

Implemented enhancements:

  • Support nested describe.one blocks #711
  • inspec exec format json backtrace #614
  • Improve error output for compliance plugin #544
  • Cryptic error output if authentication with Chef Compliance fails #489
  • How to access the impact of a test failure? #377
  • Optimize InSpec detect #300
  • document output and/or expected results #210
  • Remove redundant space when missing expectation #724 (alexpop)
  • Provide service params #721 (alexpop)
  • api: make processes return integers for pid/vsz/rss #717 (arlimus)
  • Expose systemd service properties via .info #715 (alexpop)
  • Use only strings in resource examples, docs and tests #708 (alexpop)
  • use filtertable with passwd resource #699 (arlimus)
  • show error if user is not logged in to compliance server #696 (chris-rock)
  • JSON formatter redesign #671 (arlimus)

Fixed bugs:

  • bugfix: handle train errors in inspec execution #705 (arlimus)

Closed issues:

  • How do I inherit a profile from another profile? #691
  • How do I download a profile from a compliance server? #690
  • inspec compliance login fails #689

Merged pull requests:

v0.20.1 (2016-04-30)

Full Changelog

Implemented enhancements:

Fixed bugs:

Merged pull requests:

v0.20.0 (2016-04-29)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Specifying an invalid target protocol should give a failure message #686
  • update compliance plugin #695 (chris-rock)
  • bugfix: restore pax_global_header fetcher filter #669 (arlimus)

Closed issues:

  • How do I run an inspec profile in chef audit mode? #692

Merged pull requests:

v0.19.3 (2016-04-22)

Full Changelog

Fixed bugs:

Merged pull requests:

v0.19.2 (2016-04-21)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • bugfix: fix formatting of cmp expectations #668 (arlimus)

Closed issues:

  • Octal Permissions Match #666
  • file permissions for symlinked files are not checked correctly #665

Merged pull requests:

  • release via travis + test via rubygems #663 (arlimus)

v0.19.1 (2016-04-18)

Full Changelog

Implemented enhancements:

  • configure command execution shells to sh/bash/zsh #659 (arlimus)
  • be descriptive on shadow.entries #657 (arlimus)

Fixed bugs:

Closed issues:

  • gem install failure on RHEL 7.2 Ruby 2.0 #653

Merged pull requests:

v0.19.0 (2016-04-17)

Full Changelog

Implemented enhancements:

  • Add required inspec version to inspec.yml #644
  • Resource grub conf #652 (arlimus)
  • fail on unsupported os/platform #651 (arlimus)
  • specify required inspec version in inspec.yml #648 (arlimus)
  • feature: cmp \< / \> / \<= / \>= / == / != sth matcher #643 (arlimus)
  • Add 'static' value as enabled to systemd service enabled check #637 (jmccann)
  • add dockerized inspec #635 (arlimus)
  • inspec-compliance + Compliance 1.0 #576 (srenatus)

Fixed bugs:

  • `add_test': undefined method error on Ubuntu 15.10 with Ruby 2.1 #642
  • Install failed on Ubuntu with Ruby 2.1 #641
  • Inspec json resource . example not working #631
  • Checking on services on SLES 11 fails #627
  • Inspec check fails on examples/profile #485
  • bugfix: rspec world handling on rspec 3.5 #650 (arlimus)
  • Prevent its(:to_i) from generated tests #639 (alexpop)
  • bugfix: non-profile execution with json formatter #632 (arlimus)

Merged pull requests:

v0.18.0 (2016-04-09)

Full Changelog

Implemented enhancements:

  • supports keyword marks tests as skipped instead of removing them #620 (arlimus)
  • Support only_if in controls #619 (arlimus)
  • don't remove controls with only_if #618 (arlimus)

Merged pull requests:

v0.17.1 (2016-03-31)

Full Changelog

Merged pull requests:

  • add inspec objects not exposed by default #608 (arlimus)

v0.17.0 (2016-03-31)

Full Changelog

Implemented enhancements:

  • add advanced passwd filters experimental #602 (arlimus)

Closed issues:

  • readable.by not working on RHEL7 #597
  • sshd_config resource no method error #595
  • Update the readme.md file to include new cli output #590

Merged pull requests:

v0.16.4 (2016-03-25)

Full Changelog

Implemented enhancements:

  • support --controls for inspec json #589 (arlimus)
  • dont fail with stacktrace on connection errors #588 (arlimus)

Fixed bugs:

  • Escape whitespace for compliance upload #486
  • inspec-compliance: url_encode profile names #574 (srenatus)

Closed issues:

  • --controls flag should be supported in all inspec commands #568

Merged pull requests:

v0.16.3 (2016-03-23)

Full Changelog

Fixed bugs:

Closed issues:

  • Issues with 'inspec compliance upload' #572

v0.16.2 (2016-03-22)

Full Changelog

Fixed bugs:

  • bugfix: dont crash on read_file contents in parse_config #570 (arlimus)

Closed issues:

  • inspec exec error on new install #569

Merged pull requests:

v0.16.1 (2016-03-22)

Full Changelog

Implemented enhancements:

Merged pull requests:

v0.16.0 (2016-03-19)

Full Changelog

Implemented enhancements:

  • Read Chef attributes within the tests ? #541
  • A resource to test http GET calls #538
  • rename script resource to powershell resource #553 (chris-rock)
  • add fulljson formatter #552 (arlimus)
  • feature: add tags and refs #551 (arlimus)
  • fix detect + add output option to archive command #546 (arlimus)
  • adding named resource registry classes #540 (adamleff)
  • add output stream to rspec configuration #529 (vjeffrey)
  • Move integration tests to test/integration #468 (chris-rock)

Fixed bugs:

  • Unable to Handle Spaced Windows File Paths #469
  • fix inspec shell and continuously test it #556 (arlimus)
  • bugfix: prevent duplicate loading of library files #547 (arlimus)
  • fix detect + add output option to archive command #546 (arlimus)
  • bugfix: archive command with inheritance-based profiles #545 (arlimus)

Closed issues:

  • Add additional metadata to the control definition to allow for more complete mapping to security guidance documents #536
  • CLI: Specifying --profiles-path on check succeeds but displays usage error on archive #535
  • inspec failing to connect to Compliance SSL certificate error #531

Merged pull requests:

v0.15.0 (2016-03-09)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Rename internal File and OS resource classes #527 (arlimus)
  • Placing all resources in the Inspec::Resources namespace #526 (adamleff)
  • bugfix: inheritance of local profiles #524 (arlimus)

Closed issues:

  • Colo[u]r those dots and Fs! #518

Merged pull requests:

v0.14.8 (2016-03-04)

Full Changelog

Closed issues:

  • Question: Cron? #490

Merged pull requests:

v0.14.7 (2016-03-01)

Full Changelog

Fixed bugs:

  • compliance command does not work with self-signed https #511
  • check error - digest: no implicit conversion of nil into String TypeError #509

Merged pull requests:

v0.14.6 (2016-03-01)

Full Changelog

Implemented enhancements:

Fixed bugs:

Merged pull requests:

v0.14.5 (2016-02-29)

Full Changelog

Merged pull requests:

v0.14.4 (2016-02-26)

Full Changelog

Implemented enhancements:

  • add xinetd_conf resource #499 (arlimus)
  • add describe.one: collection of tests with at least one passing #497 (arlimus)

Fixed bugs:

  • don't crash on empty metadata during finalize #500 (arlimus)

Merged pull requests:

v0.14.3 (2016-02-24)

Full Changelog

Implemented enhancements:

  • cmp matcher should compare expected string == number #487 (chris-rock)

Fixed bugs:

  • expose inspec errors during profile read #492 (arlimus)

Merged pull requests:

v0.14.2 (2016-02-22)

Full Changelog

Implemented enhancements:

  • load plugins in the same gem installation #482 (arlimus)

Fixed bugs:

Merged pull requests:

v0.14.1 (2016-02-22)

Full Changelog

Implemented enhancements:

Fixed bugs:

Merged pull requests:

v0.14.0 (2016-02-22)

Full Changelog

Fixed bugs:

Merged pull requests:

v0.13.0 (2016-02-19)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Windows 2008 Still not detected correctly #453
  • Service-related docs, bugs, integration tests #463 (srenatus)
  • fix url target resolution with zip and tar #462 (arlimus)
  • ensure permissions of inspec-compliance config.json on store #461 (srenatus)

Closed issues:

  • No way to reload the add resources from test code #459
  • add documentation for new server runlevel support #456

Merged pull requests:

v0.12.0 (2016-02-15)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Windows 2008 isn't being detected. #346
  • Fix two minor logging and config bugs in CLI #452 (srenatus)
  • bugfix: verify the target resolver before using it #449 (arlimus)
  • Fix iptables on CentOS6 + more tests for iptables plus small code improvements #442 (srenatus)

Merged pull requests:

v0.11.0 (2016-02-10)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • File stats are not always working properly #430
  • Inspec iptables should have_rule tests not working #420
  • Integration test for apache config #406
  • rework auditd_rules resource #312
  • resource/auditd_rules: update rule list format #309

Merged pull requests:

v0.10.1 (2016-02-05)

Full Changelog

Fixed bugs:

Merged pull requests:

v0.10.0 (2016-02-05)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • InSpec check crashes on tarball #408
  • Looks like supports is ignored from tar files #360
  • Check on archives is broken #343
  • upstart_service: fallback to config files if show-config is not available #419 (srenatus)
  • Use target helpers in Inspec::Profile#from_file #413 (srenatus)
  • fix warning in #find_files[_or_error] #403 (srenatus)

Closed issues:

  • be_enabled for upstart service on RHEL 6 not working correctly #417
  • Why is the yml file required? #414
  • remove leftover OS check methods from the file resource #397

Merged pull requests:

v0.9.11 (2016-01-29)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Logging in profile processing #349
  • runit_service: fix resource, improve integration tests #401 (srenatus)
  • basic logging setup for inspec exec #392 (srenatus)

Merged pull requests:

v0.9.10 (2016-01-25)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Windows OS Detection #383
  • security_policy is not returning the right value #373
  • PostgreSQL_Session Resource #302
  • bugfix: write given ID to metadata json #389 (arlimus)
  • resources/launchd_service: fix parsing of non-running services #387 (srenatus)
  • bugfix: pin net-ssh 2.9 in gem file #386 (chris-rock)
  • resource/postgres_session: add integration tests, change error handling #381 (srenatus)

Merged pull requests:

v0.9.9 (2016-01-16)

Full Changelog

Fixed bugs:

  • Resource registry_key { should_not exist } unavailable #322
  • bugfix: only skip regkey if required #364 (chris-rock)

Merged pull requests:

v0.9.8 (2016-01-11)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Inspec doesn't read controls #351
  • not working under windows, installed from gem #323
  • Resource 'file' missing 'be_mounted.with' #310
  • inspec check on examples generates errors #215
  • bugfix: ignore supports when generating a profile's json representation #355 (srenatus)
  • Support old "supports" field in metadata #347 (srenatus)
  • Fix custom resource loading from libraries #337 (arlimus)

Closed issues:

  • Create RFC on profile structure #296

Merged pull requests:

v0.9.7 (2015-12-21)

Full Changelog

Implemented enhancements:

  • Configuration number comparisons #308
  • Allow for reading options from a file #284
  • file resource mode matcher does not display file permissions correctly on failure #230

Fixed bugs:

  • remove commandline defaults, they break json config #327 (srenatus)
  • Fixing issue with security policy always returning nil #321 (jeremymv2)
  • reset rspec configuration when initializing Inspec::Runner #320 (srenatus)
  • EL package resource improvements: catch missing newlines & add release info #248 (troyready)

Closed issues:

  • convert logindef values to integer if possible #121

Merged pull requests:

v0.9.6 (2015-12-11)

Full Changelog

Implemented enhancements:

  • JSON configuration #292
  • Replace the pry... bits in inspec shell #267
  • Better wording for check #260
  • OS resource with string and symbol support #227
  • matcher for less-restrictive comparison #318 (chris-rock)
  • add readme to examples #313 (chris-rock)
  • Minor inspec shell improvements #283 (srenatus)
  • add kitchen-ansible inspec example #275 (alexpop)
  • add kitchen-puppet example with inspec testing #273 (alexpop)
  • Feature: Add shell help resource command #269 (chris-rock)

Fixed bugs:

  • auditd_conf parameters should be case insensitive #307
  • Processes resource doesn't handle user or state #295
  • JSON configuration #292
  • Windows file matcher does not match existing files #288
  • Inspec hangs when executing some windows profiles against linux machine #279
  • Utils::FindFiles doesn't work #276
  • etc_group not implemented for centos #266
  • Port resource returns arrays #256
  • Custom resource not available, undefined local variable or method gordon\_config #232
  • File permission checks should return false unless file exists #301 (adamleff)
  • remove json doc for windows_feature #272 (chris-rock)
  • improvement: add etc_group support for centos and add integration test #270 (chris-rock)

Merged pull requests:

v0.9.5 (2015-11-25)

Full Changelog

Implemented enhancements:

  • Support the -i switch for key files as per ssh #261
  • Add -p alias for --port like ssh #263 (alexmanly)

Merged pull requests:

v0.9.4 (2015-11-24)

Full Changelog

Fixed bugs:

  • registry_key needs to be case insensitive #254
  • User resource doesn't handle group names with spaces #238
  • inspec does not extract section name from test file header #182
  • bugfix: user resources support for group with whitespace #258 (chris-rock)
  • Bugfix: make registry_key resource case-insensitive #255 (alexpop)

Merged pull requests:

v0.9.3 (2015-11-20)

Full Changelog

Implemented enhancements:

  • Support the control keyword, synonymous to rule #188

Fixed bugs:

  • Multiple computed calls to describe aren't registered #246

Closed issues:

  • port resource does not work on CentOS #239
  • os_env not working #236
  • service resource misbehaves on upstart hosts #226
  • OS resource requires requires a Symbol not a String wrong in docs #224
  • Cannot run against remote WinRM SSL systems #221
  • Proper Changelog #211

Merged pull requests:

v0.9.2 (2015-11-06)

Full Changelog

Merged pull requests:

0.9.1 (2015-11-04)

Full Changelog

Closed issues:

Merged pull requests:

v0.9.1 (2015-11-03)

Full Changelog

0.9.0 (2015-11-03)

Full Changelog

Closed issues:

  • Make text replacements in documentation work correctly #170
  • rename project to inspec #129
  • resource integration tests #73

Merged pull requests:

0.8.0 (2015-10-21)

Full Changelog

Implemented enhancements:

  • pretty-print resources #78
  • Add networking resources #68
  • Add WinRM transport layer #64

Fixed bugs:

  • expose all necessary methods in OS resource #79

Closed issues:

  • script resource #74
  • add project docs #72
  • OS detection on debian does not detect versions #39
  • ensure all resources have a proper to_s method #98
  • Escape commands before we execute them #70

Merged pull requests:

* This Change Log was automatically generated by github_changelog_generator