File: scap-workbench-oscap.policy.in

package info (click to toggle)
scap-workbench 1.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,080 kB
  • ctags: 656
  • sloc: cpp: 6,949; sh: 203; ansic: 32; xml: 32; makefile: 20
file content (16 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
<policyconfig>
  <action id="scap-workbench-oscap.run">
    <description>Scan Local Machine</description>
    <message>Authentication is required to scan local machine with root privileges. Click "Cancel" to scan using your current permissions.</message>
    <defaults>
      <allow_any>auth_admin_keep</allow_any>
      <allow_inactive>auth_admin_keep</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
     <annotate key="org.freedesktop.policykit.exec.path">@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBEXECDIR@/scap-workbench-oscap.sh</annotate>
     <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  </action>
</policyconfig>