inspec 2.1.84 → 2.2.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -8
  3. data/README.md +1 -0
  4. data/docs/dev/filtertable-internals.md +353 -0
  5. data/docs/dev/filtertable-usage.md +533 -0
  6. data/docs/matchers.md +36 -36
  7. data/docs/profiles.md +2 -2
  8. data/docs/resources/apache.md.erb +1 -1
  9. data/docs/resources/aws_elb.md.erb +144 -0
  10. data/docs/resources/aws_elbs.md.erb +242 -0
  11. data/docs/resources/aws_flow_log.md.erb +118 -0
  12. data/docs/resources/aws_iam_groups.md.erb +34 -1
  13. data/docs/resources/crontab.md.erb +10 -6
  14. data/docs/resources/dh_params.md.erb +71 -65
  15. data/docs/resources/docker_service.md.erb +1 -1
  16. data/docs/resources/etc_fstab.md.erb +1 -1
  17. data/docs/resources/firewalld.md.erb +1 -1
  18. data/docs/resources/http.md.erb +1 -1
  19. data/docs/resources/iis_app.md.erb +1 -1
  20. data/docs/resources/inetd_conf.md.erb +1 -1
  21. data/docs/resources/nginx.md.erb +1 -1
  22. data/docs/resources/npm.md.erb +9 -1
  23. data/docs/resources/os.md.erb +21 -19
  24. data/docs/resources/shadow.md.erb +37 -31
  25. data/docs/resources/x509_certificate.md.erb +2 -2
  26. data/examples/custom-resource/README.md +3 -0
  27. data/examples/custom-resource/controls/example.rb +7 -0
  28. data/examples/custom-resource/inspec.yml +8 -0
  29. data/examples/custom-resource/libraries/batsignal.rb +20 -0
  30. data/examples/custom-resource/libraries/gordon.rb +21 -0
  31. data/lib/inspec/reporters/junit.rb +1 -0
  32. data/lib/inspec/resource.rb +8 -0
  33. data/lib/inspec/version.rb +1 -1
  34. data/lib/resource_support/aws.rb +3 -0
  35. data/lib/resources/aws/aws_elb.rb +81 -0
  36. data/lib/resources/aws/aws_elbs.rb +78 -0
  37. data/lib/resources/aws/aws_flow_log.rb +102 -0
  38. data/lib/resources/aws/aws_iam_groups.rb +1 -2
  39. data/lib/resources/aws/aws_iam_users.rb +65 -47
  40. data/lib/resources/npm.rb +15 -2
  41. data/lib/resources/package.rb +1 -1
  42. data/lib/utils/filter.rb +243 -85
  43. metadata +15 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.84
4
+ version: 2.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-31 00:00:00.000000000 Z
11
+ date: 2018-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: train
@@ -305,6 +305,8 @@ files:
305
305
  - docs/.gitignore
306
306
  - docs/README.md
307
307
  - docs/dev/control-eval.md
308
+ - docs/dev/filtertable-internals.md
309
+ - docs/dev/filtertable-usage.md
308
310
  - docs/dsl_inspec.md
309
311
  - docs/dsl_resource.md
310
312
  - docs/glossary.md
@@ -331,6 +333,9 @@ files:
331
333
  - docs/resources/aws_config_recorder.md.erb
332
334
  - docs/resources/aws_ec2_instance.md.erb
333
335
  - docs/resources/aws_ec2_instances.md.erb
336
+ - docs/resources/aws_elb.md.erb
337
+ - docs/resources/aws_elbs.md.erb
338
+ - docs/resources/aws_flow_log.md.erb
334
339
  - docs/resources/aws_iam_access_key.md.erb
335
340
  - docs/resources/aws_iam_access_keys.md.erb
336
341
  - docs/resources/aws_iam_group.md.erb
@@ -467,6 +472,11 @@ files:
467
472
  - docs/shared/matcher_match.md.erb
468
473
  - docs/shell.md
469
474
  - examples/README.md
475
+ - examples/custom-resource/README.md
476
+ - examples/custom-resource/controls/example.rb
477
+ - examples/custom-resource/inspec.yml
478
+ - examples/custom-resource/libraries/batsignal.rb
479
+ - examples/custom-resource/libraries/gordon.rb
470
480
  - examples/inheritance/README.md
471
481
  - examples/inheritance/controls/example.rb
472
482
  - examples/inheritance/inspec.yml
@@ -655,6 +665,9 @@ files:
655
665
  - lib/resources/aws/aws_config_recorder.rb
656
666
  - lib/resources/aws/aws_ec2_instance.rb
657
667
  - lib/resources/aws/aws_ec2_instances.rb
668
+ - lib/resources/aws/aws_elb.rb
669
+ - lib/resources/aws/aws_elbs.rb
670
+ - lib/resources/aws/aws_flow_log.rb
658
671
  - lib/resources/aws/aws_iam_access_key.rb
659
672
  - lib/resources/aws/aws_iam_access_keys.rb
660
673
  - lib/resources/aws/aws_iam_group.rb