{"description": " To properly set the permissions of <code>/etc/nftables</code>, run the command: <pre>$ sudo chmod 0700 /etc/nftables</pre>", "rationale": "Setting correct permissions on the /etc/nftables directory is important\nbecause this directory hosts nftables configuration. Protection of this\ndirectory is critical for system security. Restricting the permissions\nensures exclusive control of the nftables configuration.", "severity": "medium", "references": {"anssi": ["R50"]}, "control_references": {"anssi": ["R50"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/nftables does not have unix mode 0700", "ocil": "To check the permissions of <code>/etc/nftables</code>,\nrun the command:\n<pre>$ ls -l /etc/nftables</pre>\nIf properly configured, the output should indicate the following permissions:\n<code>0700</code>", "oval_external_content": null, "fixtext": " Configure the \"/etc/nftables\" file to \"0700\" by running the following command:\n$ sudo chmod 0700 /etc/nftables", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/nftables file must have mode 0700 or less permissive to prevent unauthorized access.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "package[nftables]", "platforms": ["package[nftables]"], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": ["package_nftables"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify Permissions On /etc/nftables Directory", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/network/network-nftables/directory_permissions_etc_nftables/rule.yml", "template": {"name": "file_permissions", "vars": {"filepath": "/etc/nftables/", "filemode": "0700"}, "backends": {}}}