Skip to content

Commit eb4a68e

Browse files
committed
Move security plugins under security namespace
1 parent a6e8d38 commit eb4a68e

40 files changed

Lines changed: 3266 additions & 3192 deletions

docs/guides/account-access.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Automax includes account access plugins for common Linux operator tasks:
99

1010
- `user.exists`, `user.lock`, `user.unlock`, `user.set_password`
1111
- `group.exists`
12-
- `ssh.authorized_key`
13-
- `sudoers.dropin`
12+
- `security.ssh.authorized_key.add`
13+
- `security.sudo.dropin`
1414

1515
Use `password_hash` with `user.set_password` whenever possible. Plaintext passwords are supported for operational compatibility, but command secrets or file secrets are preferred.
1616

@@ -25,7 +25,7 @@ Use `password_hash` with `user.set_password` whenever possible. Plaintext passwo
2525
2626
```yaml
2727
- id: install_deploy_key
28-
use: ssh.authorized_key
28+
use: security.ssh.authorized_key.add
2929
with:
3030
user: deploy
3131
key: "{{ vars.deploy_public_key }}"
@@ -35,7 +35,7 @@ Use `password_hash` with `user.set_password` whenever possible. Plaintext passwo
3535
3636
```yaml
3737
- id: allow_restart
38-
use: sudoers.dropin
38+
use: security.sudo.dropin
3939
with:
4040
name: deploy-myapp
4141
content: "deploy ALL=(root) /bin/systemctl restart myapp"

docs/guides/linux-security-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ Automax supports SELinux and AppArmor workflows without hiding distribution diff
1111

1212
```yaml
1313
- id: allow_http_network
14-
use: selinux.boolean
14+
use: security.selinux.boolean
1515
with:
1616
name: httpd_can_network_connect
1717
value: true
1818
persist: true
1919
sudo: true
2020
```
2121
22-
Available plugins include `selinux.mode`, `selinux.boolean`, `selinux.context` and `selinux.restorecon`.
22+
Available plugins include `security.selinux.mode`, `security.selinux.boolean`, `security.selinux.context` and `security.selinux.restorecon`.
2323

2424
## AppArmor
2525

2626
```yaml
2727
- id: enforce_nginx_profile
28-
use: apparmor.profile
28+
use: security.apparmor.profile
2929
with:
3030
profile: /etc/apparmor.d/usr.sbin.nginx
3131
state: enforce
3232
sudo: true
3333
```
3434

35-
Available plugins include `apparmor.status`, `apparmor.profile` and `apparmor.reload`.
35+
Available plugins include `security.apparmor.status`, `security.apparmor.profile` and `security.apparmor.reload`.

0 commit comments

Comments
 (0)