Commit graph

10456 commits

Author SHA1 Message Date
Deepa Kumaraswamy
abcd5306cc changes proposed by Clinton
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-01 20:08:10 +05:30
Sonu Saha
28b92b0f99 CFINSPEC-94: Add comment on why cat/type is used instead of reading the file with inspec.file
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-31 19:53:29 +05:30
Sonu Saha
5ec479fff3 CFINSPEC-94: Remove user specific matchers from universal matchers & include in user
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-31 19:44:30 +05:30
Sonu Saha
853afe2244 CFINSPEC-80: Improve grep to match sentence starting with alias followed by :
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-31 15:07:06 +05:30
Deepa Kumaraswamy
0aeea0a7fc Finalization
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-31 14:31:51 +05:30
Sonu Saha
91ffb07901 CFINSPEC-94: Refactor belongs_to_group
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-31 11:51:36 +05:30
Chef Expeditor
afa46892f7 Bump version to 5.10.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-31 00:17:26 +00:00
Clinton Wolfe
82df8c8a52
Merge pull request #5948 from myii/fix/ensure-installed-true-not-always-returned-for-freebsd-service
fix(service): ensure `installed: true` isn't always returned on FreeBSD
2022-03-30 20:16:19 -04:00
Chef Expeditor
d73e19096f Bump version to 5.10.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-30 23:57:50 +00:00
Clinton Wolfe
b1835bf9f9
Merge pull request #5945 from inspec/ss/enhance-docker-image
CFINSPEC-86: Enhance docker_image resource
2022-03-30 19:56:48 -04:00
Chef Expeditor
8156a66e8d Bump version to 5.10.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-30 23:55:02 +00:00
Clinton Wolfe
a484f3e354
Merge pull request #5944 from inspec/ss/enhance-docker-container
CFINSPEC-85: Enhance docker_container resource with have_volume matcher
2022-03-30 19:53:52 -04:00
Chef Expeditor
3643266dbf Bump version to 5.10.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-30 23:51:32 +00:00
Clinton Wolfe
140a176af5
Merge pull request #5956 from mitre/progress-bar-update
updates to reporting detail on progress bar
2022-03-30 19:50:21 -04:00
Sonu Saha
af7ed7bc15 CFINSPEC-80: Handle comma separated alias values, add documentation
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-30 19:50:45 +05:30
Sonu Saha
65f4766bec CFINSPEC-80: Define aliased_to matcher and add unit test
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-30 17:26:15 +05:30
Deepa Kumaraswamy
8177881e4a doc changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-30 17:13:32 +05:30
Deepa Kumaraswamy
9b91105a92 doc changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-30 17:09:22 +05:30
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