mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
Few minor changes in the docs
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
7d33d20395
commit
e6d0277593
2 changed files with 7 additions and 2 deletions
|
@ -60,8 +60,10 @@ Above example shows how `allow` value can be fetched in 2 ways.
|
|||
|
||||
For a full list of available matchers, please visit our [matchers page](/inspec/matchers/).
|
||||
|
||||
## Properties
|
||||
|
||||
### allow
|
||||
|
||||
The `allow` matcher checks if specific input is as per the policy defined in OPA. If `allow` is not defined in the policy file then this matcher will not work.
|
||||
The `allow` property checks if specific input is as per the policy defined in OPA. If `allow` is not defined in the policy file then this matcher will not work.
|
||||
|
||||
its('allow') { should eq 'value' }
|
||||
|
|
|
@ -69,8 +69,11 @@ Above example shows how `allow` value can be fetched in 2 ways.
|
|||
|
||||
For a full list of available matchers, please visit our [matchers page](/inspec/matchers/).
|
||||
|
||||
## Properties
|
||||
|
||||
### allow
|
||||
|
||||
The `allow` matcher checks if specific input is as per the policy defined in OPA. If `allow` is not defined in the policy file then this matcher will not work.
|
||||
The `allow` property checks if specific input is as per the policy defined in OPA. If `allow` is not defined in the policy file then this matcher will not work.
|
||||
|
||||
its('allow') { should eq 'value' }
|
||||
|
||||
|
|
Loading…
Reference in a new issue