Commit graph

10388 commits

Author SHA1 Message Date
Sonu Saha
f1f0ecb631 CFINSPEC-80: Skeleton of resource, unit test and doc
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-30 16:11:12 +05:30
Sonu Saha
2d068bee27 CFINSPEC-94: Introduce requested changes after review
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-30 12:58:42 +05:30
Deepa Kumaraswamy
55b4bffa62 First Draft - AliCloud
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-29 19:54:50 +05:30
Deepa Kumaraswamy
b116ad3e6b formatting changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-29 17:18:36 +05:30
Deepa Kumaraswamy
77695faef8 review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-29 17:10:43 +05:30
Deepa Kumaraswamy
d1bf94daaf review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-29 16:32:53 +05:30
Sonu Saha
8c15ebe70b CFINSPEC-94: Add documentation for introduced matchers and properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
1a5c6c2772 CFINSPEC-94: Add unit test for introduced matchers and properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
95a6ecca6b CFINSPEC-94: Remove old comments that says deprecation for serverspec
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
d4e49c87b7 CFINSPEC-94: Clean code, lint check and add comments
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
6dfa1e23db CFINSPEC-94: encrypted_password works with getent utility on BSD/Solaris
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
96103a8785 CFINSPEC-94: Implement encrypted_password property for linux systems
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
a043008785 CFINSPEC-94: Extend has_authorized_key for windows user
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
6d46e5ab71 CFINSPEC-94: Add has_authorized_key for basic unix case
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
112e8cc061 CFINSPEC-94: Add new matchers belong_to_group/primary_group
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
978e6ea798 CFINSPEC-94: Remove deprecation of minimum_days_between_password_change and maximum_days_between_password_change
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
a0d40a5d9c CFINSPEC-94: Remove deprecation of has_uid? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
3f294bfbe1 CFINSPEC-94: Remove deprecation of has_login_shell? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
50fc284a43 CFINSPEC-94: Remove deprecation of has_home_directory? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Chef Expeditor
4ed3d4bcc7 Bump version to 5.10.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-25 18:18:02 +00:00
Clinton Wolfe
c7c6649154
Merge pull request #5949 from inspec/cw/extend-test-timeout
Extend CI test timeout to 60 minutes
2022-03-25 14:16:31 -04:00
Aaron Lippold
4eccdc1b5a removed excessive use of instance variables
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 13:01:14 -04:00
Aaron Lippold
ffd4706608 refactored to remove repeated code.
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 12:54:31 -04:00
Aaron Lippold
1150ef2d30 updates to reporting detail on progress bar
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 12:02:29 -04:00
Chef Expeditor
5492ba69dc Bump version to 5.10.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-24 23:07:36 +00:00
Clinton Wolfe
781c9e5e49
Merge pull request #5923 from inspec/im/azurerm
Deprecation note for azurerm resources
2022-03-24 19:06:35 -04:00
Imran Iqbal
17084b4ad7
fix(service): ensure installed: true isn't always returned on FreeBSD
Fix regression introduced in 41ea0da4a9.

Close #5947.

Signed-off-by: Imran Iqbal <iqbalmy@hotmail.com>
2022-03-24 23:02:21 +00:00
Sonu Saha
504756c8d1 CFINSPEC-86: Add syntax in documentation
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 23:02:55 +05:30
Sonu Saha
f6115c7aeb CFINSPEC-86: Add comments and unit test for invalid keys
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:49:01 +05:30
Sonu Saha
e5a79c17d6 CFINSPEC-85: Add comments for the introduced matcher and method
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:36:44 +05:30
Sonu Saha
f1073f26f5 CFINSPEC-85: Unit test for no mounted volumes and non existing container
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:24:27 +05:30
Sonu Saha
3eba207bcf CFINSPEC-86: Use method_missing and dig to achieve the goal
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:05:59 +05:30
Ian Maddaus
bd22801208 Update makefile
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-03-24 11:43:02 -04:00
Ian Maddaus
e157eead42 Deprecation note for azurerm resources
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-03-24 11:20:25 -04:00
Sonu Saha
9a9a5acb7a CFINSPEC-86: Replace def[] and override method_missing of json resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 15:31:58 +05:30
Sonu Saha
bfb78a2d23 CFINSPEC-86: Factorize def[] method
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 12:25:36 +05:30
Sonu Saha
617f1634e3 CFINSPEC-85: Handle multiple mounts for docker container
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 10:51:06 +05:30
Clinton Wolfe
2b0d804e6c Extend CI test timeout to 60 minutes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-23 19:30:38 -04:00
Chef Expeditor
bd0976eb0b Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 22:55:00 +00:00
Chef Expeditor
26e197a3a5 Bump version to 5.10.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 18:41:51 +00:00
Clinton Wolfe
0ae972f52f
Merge pull request #5946 from inspec/cw/fix-plugin-list-smoke-test
Fix plugin list smoke test
2022-03-23 14:39:47 -04:00
Clinton Wolfe
d86112bad7 Intercept width warning message for plugin list
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-23 14:37:59 -04:00
Sonu Saha
d66fcd039a CFINSPEC-86: Allow container id to test inspect attributes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:21:22 +05:30
Sonu Saha
3b49b967a4 CFINSPEC-86: Extend docker_image documentation with new properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
968537da1e CFINSPEC-86: Correct RuboCop Lint offenses
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
2c4b8bab40 CFINSPEC-86: Add unit test for docker_image inspect attributes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
fbe78d0c93 CFINSPEC-86: Enhance docker_image with image inspect information
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
20895030fa CFINSPEC-85: Allow have_volume to test with container id
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:08:29 +05:30
Sonu Saha
c43ef573b8 CFINSPEC-85: Fix lint that's offensive to RuboCop
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:43:02 +05:30
Sonu Saha
94850eaed6 CFINSPEC-85: Extend docker_container documentation for new matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:35:08 +05:30