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
- data PatchRule = PatchRule' {}
- newPatchRule :: PatchFilterGroup -> PatchRule
- patchRule_approveAfterDays :: Lens' PatchRule (Maybe Natural)
- patchRule_approveUntilDate :: Lens' PatchRule (Maybe Text)
- patchRule_complianceLevel :: Lens' PatchRule (Maybe PatchComplianceLevel)
- patchRule_enableNonSecurity :: Lens' PatchRule (Maybe Bool)
- patchRule_patchFilterGroup :: Lens' PatchRule PatchFilterGroup
Documentation
Defines an approval rule for a patch baseline.
See: newPatchRule
smart constructor.
PatchRule' | |
|
Instances
Create a value of PatchRule
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:approveAfterDays:PatchRule'
, patchRule_approveAfterDays
- The number of days after the release date of each patch matched by the
rule that the patch is marked as approved in the patch baseline. For
example, a value of 7
means that patches are approved seven days after
they are released. Not supported on Debian Server or Ubuntu Server.
$sel:approveUntilDate:PatchRule'
, patchRule_approveUntilDate
- The cutoff date for auto approval of released patches. Any patches
released on or before this date are installed automatically. Not
supported on Debian Server or Ubuntu Server.
Enter dates in the format YYYY-MM-DD
. For example, 2021-12-31
.
$sel:complianceLevel:PatchRule'
, patchRule_complianceLevel
- A compliance severity level for all approved patches in a patch
baseline.
$sel:enableNonSecurity:PatchRule'
, patchRule_enableNonSecurity
- For managed nodes identified by the approval rule filters, enables a
patch baseline to apply non-security updates available in the specified
repository. The default value is false
. Applies to Linux managed nodes
only.
$sel:patchFilterGroup:PatchRule'
, patchRule_patchFilterGroup
- The patch filter group that defines the criteria for the rule.
patchRule_approveAfterDays :: Lens' PatchRule (Maybe Natural) Source #
The number of days after the release date of each patch matched by the
rule that the patch is marked as approved in the patch baseline. For
example, a value of 7
means that patches are approved seven days after
they are released. Not supported on Debian Server or Ubuntu Server.
patchRule_approveUntilDate :: Lens' PatchRule (Maybe Text) Source #
The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.
Enter dates in the format YYYY-MM-DD
. For example, 2021-12-31
.
patchRule_complianceLevel :: Lens' PatchRule (Maybe PatchComplianceLevel) Source #
A compliance severity level for all approved patches in a patch baseline.
patchRule_enableNonSecurity :: Lens' PatchRule (Maybe Bool) Source #
For managed nodes identified by the approval rule filters, enables a
patch baseline to apply non-security updates available in the specified
repository. The default value is false
. Applies to Linux managed nodes
only.
patchRule_patchFilterGroup :: Lens' PatchRule PatchFilterGroup Source #
The patch filter group that defines the criteria for the rule.