-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10438 from Mab879/backport_10431
Backport of #10431
- Loading branch information
Showing
16 changed files
with
68 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "cpe:/a:mount-{arg}" | ||
title: "The {mountpoint} mountpoint is active (mounted) or configured in /etc/fstab" | ||
check_id: installed_env_mount_{arg} | ||
bash_conditional: {{{ bash_mount_conditional("{mountpoint}") }}} | ||
ansible_conditional: {{{ ansible_mount_conditional("{mountpoint}") }}} | ||
template: | ||
name: platform_mount | ||
args: | ||
tmp: | ||
mountpoint: /tmp | ||
var-tmp: | ||
mountpoint: /var/tmp |
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
shared/applicability/oval/installed_env_mounts_var_tmp.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<def-group> | ||
<definition class="inventory" id="installed_env_{{{ _RULE_ID }}}" version="1"> | ||
{{{ oval_metadata("", title="Mountpoint " + MOUNTPOINT + " is active (mounted) or configured in /etc/fstab", affected_platforms=[full_name]) }}} | ||
<criteria operator="OR"> | ||
<criteria> | ||
{{{ mount_active_criterion(MOUNTPOINT) }}} | ||
</criteria> | ||
<criteria> | ||
{{{ mount_configured_fstab_criterion(MOUNTPOINT) }}} | ||
</criteria> | ||
</criteria> | ||
</definition> | ||
{{{ mount_active_test_object(MOUNTPOINT) }}} | ||
{{{ mount_configured_fstab_test_object(MOUNTPOINT) }}} | ||
</def-group> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
supported_languages: | ||
- oval |