inspec/test/fixtures/profiles
Nikita Mathur efc6f2c63a
CFINSPEC-246/CFINSPEC-247 Attestation changes for N/R outcomes (#6222)
* Added attestation file option to read attestation in various formats

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Added method to add attestation data on control level

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Enhanced outcomes flag to be true when attestation file is passed

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Added logic for attestation for reporters

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Attestation integration with streaming reporters and lots of refactoring

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Support for mitre - with frequency, updated and explanation fields'

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* To only revise enhanced outcomes when attestation data is present for the control - fix in streaming reporter

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Added test cases for attestation and also added validation warnings

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Attestation test for different formats of attestation file

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Validating presence of status column to be mandtory for attestation files

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Build fix

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Attestation build fix for windows

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* No justification and no status graceful handling

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* New class attestations added for logic and added missing test attestations file

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Code comments and cli doc changes for attestation option

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Moved logic of attestations and enhanced outcomes to the base of streaming reporter

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Attestation documentation added

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Added information on what happens if justification is missing in attestation file

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Attestation doc changes as per the review

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* File fields doc changes in attestation doc

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Content Review

Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>

* Edits

Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>

* Attestation test changes matching regex and separated logic for expiration using frequency and updated date

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Proof-read

Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>

* Name changes for expiry calculation method

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Generic tests in attestations for cross platform

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
Co-authored-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-09-30 09:53:32 -04:00
..
archive-depends Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
archived-profiles Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
attestation CFINSPEC-246/CFINSPEC-247 Attestation changes for N/R outcomes (#6222) 2022-09-30 09:53:32 -04:00
aws-profile Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
azure-profile Test cases fixed and new test cases added 2022-03-10 19:24:52 +05:30
basic_profile Set profiles that fail to load as failed 2020-07-02 13:33:07 +01:00
cloud CFINSPEC-38: Fix test failing after release branch update. 2022-02-18 11:54:59 +05:30
complete-metadata Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
complete-profile Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
control-tags Change to filter tags on both key and value basis of hashmap style tags 2021-08-31 18:14:58 +05:30
control_metadata Changed a bunch of profiles to use / instead of /tmp for Windows compat. 2019-11-12 14:51:56 -08:00
controls-option-test Updated test for --controls option 2021-03-19 16:10:12 +05:30
custom-resource-inheritance adds test for core resource iheritance in custom resource 2022-02-01 15:16:12 +05:30
dependencies Fix --tags filter for dependent profiles 2021-09-07 16:49:32 +05:30
deprecation Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
diff-output Add option to suppress diff output 2020-08-10 14:31:28 -04:00
dsl_plugins Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
empty-metadata Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
enhanced-outcomes-test Added doc for only if impact change and modified test cases 2022-07-29 14:31:40 +05:30
exception-in-control Fix typos identified by cspell 2021-08-30 16:49:46 -07:00
export-json Changed a bunch of profiles to use / instead of /tmp for Windows compat. 2019-11-12 14:51:56 -08:00
failures (WIP) Reporter options to truncate message and suppress stacktrace 2020-05-04 15:24:50 +01:00
fetcher-failures These tests don't pass on a network cafe and just hang forever. 2020-02-03 13:18:56 -08:00
filter_table fix style 2022-03-11 19:28:34 +05:30
git-fetcher Windows testing with different versions of dependent profiles 2022-06-30 17:51:27 +05:30
inputs Added new pattern option, fix for input options on dsl and functional test cases for input options 2021-04-21 12:33:54 +05:30
invalid-include-controls Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
invalid-version Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
library Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
license-invalid Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
license-proprietary Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
license-spdx Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
local-depends Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
old-examples Update various readmes and docs 2020-09-14 14:09:23 -07:00
only-if-os-nope Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
only_if N/A and N/R logic integration with base formatter run_data 2022-07-29 14:30:58 +05:30
profile-lock-insync Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
profile-lock-notrequired Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
profile-lock-outofsync Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
profile-lock-required Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
profile-support-skip Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
profile-with-bad-metadata Changed a bunch of profiles to use / instead of /tmp for Windows compat. 2019-11-12 14:51:56 -08:00
profile-with-dependent-gem-dependency CFINSPEC-13 Added check so that the adding gem to vendor set block will get called on Windows. Renamed the metadata file parameter name to provide gem dependencies. 2022-03-04 00:34:46 -05:00
profile-with-gem-dependency CFINSPEC-13: Resolved the Unable to resolve gem dependency error on linux, Adds code to handle the loading of gems in the inspec check and fixed the test. 2022-03-04 00:34:46 -05:00
profile-with-illformed-gem-depedency CFINSPEC-13 Added exception handling for Gem BadRequirement error. 2022-03-04 21:16:18 +05:30
profile-with-required-inputs Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
profile-with-resource-exceptions Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
profile-without-gem-version CFINSPEC-252: Fix profile gem dependency installation is failing when gem version is not specified. 2022-05-13 00:18:03 +05:30
raise_outside_control Set profiles that fail to load as failed 2020-07-02 13:33:07 +01:00
resource_ids Add functional tests for resource_id 2022-03-04 10:22:01 -05:00
signed CFINSPEC-340 Handle inspec exec to work with change in the headers and fixes the failing test 2022-06-08 11:10:34 +05:30
simple-inheritance Changed a bunch of profiles to use / instead of /tmp for Windows compat. 2019-11-12 14:51:56 -08:00
simple-metadata Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
skippy-controls Fixed failing test 2021-06-04 17:24:28 +05:30
skippy-profile-os Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
slash-in-name/not-allowed Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
sorted-results/sort-me-1 Add ability to sort results in reporting phase 2020-08-10 14:32:08 -04:00
spec_only Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
supermarket-dep Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
supported_inspec Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
timeouts Functional tests for command resource timeout 2021-03-29 21:46:25 -04:00
unsupported_dependencies Changed a bunch of profiles to use / instead of /tmp for Windows compat. 2019-11-12 14:51:56 -08:00
unsupported_inspec Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
waivers CFINSPEC-240 Extended file format support for waivers (#6193) 2022-08-01 09:19:35 -04:00
warn_logs Changed a bunch of profiles to use / instead of /tmp for Windows compat. 2019-11-12 14:51:56 -08:00
windows-only Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
wrapper-override Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
wrong-char-profile Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
{{special-path}} Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
incompatible_resource_for_transport.rb Set profiles that fail to load as failed 2020-07-02 13:33:07 +01:00