Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data PatchFilter Source #
Defines which patches should be included in a patch baseline.
A patch filter consists of a key and a set of values. The filter key is
a patch property. For example, the available filter keys for WINDOWS
are PATCH_SET
, PRODUCT
, PRODUCT_FAMILY
, CLASSIFICATION
, and
MSRC_SEVERITY
.
The filter values define a matching criterion for the patch property
indicated by the key. For example, if the filter key is PRODUCT
and
the filter values are ["Office 2013", "Office 2016"]
, then the
filter accepts all patches where product name is either "Office 2013"
or "Office 2016". The filter values can be exact values for the patch
property given as a key, or a wildcard (*), which matches all values.
You can view lists of valid values for the patch properties by running
the DescribePatchProperties
command. For information about which patch
properties can be used with each major operating system, see
DescribePatchProperties.
See: newPatchFilter
smart constructor.
PatchFilter' | |
|
Instances
Create a value of PatchFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:PatchFilter'
, patchFilter_key
- The key for the filter.
Run the DescribePatchProperties command to view lists of valid keys for each operating system type.
$sel:values:PatchFilter'
, patchFilter_values
- The value for the filter key.
Run the DescribePatchProperties command to view lists of valid values for each key based on operating system type.
patchFilter_key :: Lens' PatchFilter PatchFilterKey Source #
The key for the filter.
Run the DescribePatchProperties command to view lists of valid keys for each operating system type.
patchFilter_values :: Lens' PatchFilter (NonEmpty Text) Source #
The value for the filter key.
Run the DescribePatchProperties command to view lists of valid values for each key based on operating system type.