Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#6566 from JAORMX/hugetlbfs
Browse files Browse the repository at this point in the history
ocp4: openvswitch's conf.db and lock are now owned by a different group
  • Loading branch information
JAORMX authored Jan 26, 2021
2 parents 575cd6e + db4629e commit a215c82
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prodtype: ocp4
title: 'Verify Group Who Owns The Open vSwitch Configuration Database'

description: |-
{{{ describe_file_group_owner(file="/etc/openvswitch/conf.db", group="openvswitch") }}}
{{{ describe_file_group_owner(file="/etc/openvswitch/conf.db", group="hugetlbfs") }}}
rationale: |-
CNI (Container Network Interface) files consist of a specification and libraries for
Expand All @@ -21,13 +21,13 @@ identifiers:
references:
cis: 1.1.9

ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/conf.db", group="openvswitch") }}}'
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/conf.db", group="hugetlbfs") }}}'

ocil: |-
{{{ ocil_file_group_owner(file="/etc/openvswitch/conf.db", group="openvswitch") }}}
{{{ ocil_file_group_owner(file="/etc/openvswitch/conf.db", group="hugetlbfs") }}}
template:
name: file_groupowner
vars:
filepath: /etc/openvswitch/conf.db
filegid: '800'
filegid: '801'
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prodtype: ocp4
title: 'Verify Group Who Owns The Open vSwitch Configuration Database Lock'

description: |-
{{{ describe_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="openvswitch") }}}
{{{ describe_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="hugetlbfs") }}}
rationale: |-
CNI (Container Network Interface) files consist of a specification and libraries for
Expand All @@ -21,13 +21,13 @@ identifiers:
references:
cis: 1.1.9

ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="openvswitch") }}}'
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="hugetlbfs") }}}'

ocil: |-
{{{ ocil_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="openvswitch") }}}
{{{ ocil_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="hugetlbfs") }}}
template:
name: file_groupowner
vars:
filepath: /etc/openvswitch/.conf.db.~lock~
filegid: '800'
filegid: '801'
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prodtype: ocp4
title: 'Verify Group Who Owns The Open vSwitch Persistent System ID'

description: |-
{{{ describe_file_group_owner(file="/etc/openvswitch/system-id.conf", group="openvswitch") }}}
{{{ describe_file_group_owner(file="/etc/openvswitch/system-id.conf", group="hugetlbfs") }}}
rationale: |-
CNI (Container Network Interface) files consist of a specification and libraries for
Expand All @@ -21,13 +21,13 @@ identifiers:
references:
cis: 1.1.9

ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/system-id.conf", group="openvswitch") }}}'
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/system-id.conf", group="hugetlbfs") }}}'

ocil: |-
{{{ ocil_file_group_owner(file="/etc/openvswitch/system-id.conf", group="openvswitch") }}}
{{{ ocil_file_group_owner(file="/etc/openvswitch/system-id.conf", group="hugetlbfs") }}}
template:
name: file_groupowner
vars:
filepath: /etc/openvswitch/system-id.conf
filegid: '800'
filegid: '801'

0 comments on commit a215c82

Please sign in to comment.