Projects
home:lele
strata-agent
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
strata-agent.service
Added
@@ -0,0 +1,34 @@ +Unit +Description=Report this host's OS packages to Strata +Documentation=file:///usr/share/doc/packages/strata-agent/README.md +Wants=network-online.target +After=network-online.target +ConditionPathExists=/etc/strata-agent/credentials + +Service +Type=oneshot +ExecStart=/usr/bin/strata-agent report +TimeoutStartSec=15min +Nice=10 +IOSchedulingClass=idle +# Trivy reads the package database under / and writes only to a temporary directory. +PrivateTmp=yes +ProtectSystem=strict +ReadWritePaths=/var/lib/strata-agent +ProtectHome=read-only +NoNewPrivileges=yes +# SETPCAP is needed only for the agent's initial capability drop. OS-only reports drop all; +# library scans keep DAC_READ_SEARCH (DAC_OVERRIDE is a fallback in restricted containers). +CapabilityBoundingSet=CAP_SETPCAP CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE +SystemCallFilter=~@mount +SystemCallArchitectures=native +RestrictNamespaces=yes +PrivateDevices=yes +ProtectKernelTunables=yes +ProtectControlGroups=yes +RestrictSUIDSGID=yes +StateDirectory=strata-agent +StateDirectoryMode=0700 +# Trivy's scan cache; /root is read-only here. +CacheDirectory=strata-agent +Environment=TRIVY_CACHE_DIR=/var/cache/strata-agent
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.