-
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 #11886 from mpurg/ubuntu_2204_stig_291015
Align wireless_disable_interfaces with Ubuntu 22.04 STIG
- Loading branch information
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
4 changes: 1 addition & 3 deletions
4
...tem/network/network-wireless/wireless_software/wireless_disable_interfaces/bash/ubuntu.sh
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
16 changes: 16 additions & 0 deletions
16
...em/network/network-wireless/wireless_software/wireless_disable_interfaces/oval/ubuntu.xml
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,16 @@ | ||
<def-group> | ||
<definition class="compliance" id="wireless_disable_interfaces" version="1"> | ||
{{{ oval_metadata("All wireless interfaces should be disabled.") }}} | ||
<criteria> | ||
<criterion comment="query /proc/net/wireless" test_ref="test_wireless_disable_interfaces" /> | ||
</criteria> | ||
</definition> | ||
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="query /proc/net/wireless" id="test_wireless_disable_interfaces" version="1"> | ||
<ind:object object_ref="object_wireless_disable_interfaces" /> | ||
</ind:textfilecontent54_test> | ||
<ind:textfilecontent54_object id="object_wireless_disable_interfaces" version="1"> | ||
<ind:filepath>/proc/net/wireless</ind:filepath> | ||
<ind:pattern operation="pattern match">^\s*\S+:\s</ind:pattern> | ||
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance> | ||
</ind:textfilecontent54_object> | ||
</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