mirror of
https://github.com/inspec/inspec
synced 2024-11-11 15:37:09 +00:00
51 lines
1 KiB
ReStructuredText
51 lines
1 KiB
ReStructuredText
resource_name
|
|
=====================================================
|
|
Use the ``resource_name`` audit resource to xxxxx.
|
|
|
|
Syntax
|
|
-----------------------------------------------------
|
|
A ``resource_name`` audit resource block declares xxxxx. For example:
|
|
|
|
.. code-block:: ruby
|
|
|
|
describe xxxxx(xxxxx) do
|
|
it { should xxxxx }
|
|
end
|
|
|
|
where
|
|
|
|
* ``xxxxx`` must specify xxxxx
|
|
* xxxxx
|
|
* ``xxxxx`` is a valid matcher for this audit resource
|
|
|
|
Matchers
|
|
-----------------------------------------------------
|
|
This audit resource has the following matchers.
|
|
|
|
xxxxx
|
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
The ``xxxxx`` matcher tests if xxxxx. For example:
|
|
|
|
.. code-block:: ruby
|
|
|
|
it { should xxxxx }
|
|
|
|
xxxxx
|
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
The ``xxxxx`` matcher tests if xxxxx. For example:
|
|
|
|
.. code-block:: ruby
|
|
|
|
it { should xxxxx }
|
|
|
|
Examples
|
|
-----------------------------------------------------
|
|
The following examples show how to use this audit resource in a recipe.
|
|
|
|
**xxxxx**
|
|
|
|
xxxxx
|
|
|
|
**xxxxx**
|
|
|
|
xxxxx
|