Commit graph

61 commits

Author SHA1 Message Date
984b0fa81b
Add ability to enroll RH-style systems (DNF5/DNF/RPM)
All checks were successful
CI / test (push) Successful in 5m9s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 17s
2025-12-29 14:59:34 +11:00
ad2abed612
Add version CLI arg 2025-12-29 14:29:11 +11:00
8c19473e18
Fix an attribution bug for certain files ending up in the wrong package/role.
All checks were successful
CI / test (push) Successful in 5m2s
Lint / test (push) Successful in 29s
Trivy / test (push) Successful in 21s
2025-12-28 18:37:14 +11:00
921801caa6
0.1.6
All checks were successful
CI / test (push) Successful in 5m24s
Lint / test (push) Successful in 30s
Trivy / test (push) Successful in 16s
2025-12-28 15:32:40 +11:00
3fc5aec5fc
0.1.5
All checks were successful
CI / test (push) Successful in 5m4s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 17s
2025-12-28 09:56:52 +11:00
8c6b51be3e
Manage apt stuff in its own role, not in etc_custom
Some checks failed
Lint / test (push) Waiting to run
Trivy / test (push) Waiting to run
CI / test (push) Has been cancelled
2025-12-28 09:39:14 +11:00
303c1b0dd8
Consolidate logrotate and cron files into their main service/package roles if they exist. Standardise on MAX_FILES_CAP in one place 2025-12-28 09:30:21 +11:00
cae6246177
Add Fedora install steps to README
All checks were successful
CI / test (push) Successful in 5m1s
Lint / test (push) Successful in 29s
Trivy / test (push) Successful in 18s
2025-12-27 19:14:01 +11:00
40aad9e798
0.1.4
All checks were successful
CI / test (push) Successful in 5m0s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 18s
2025-12-27 19:04:00 +11:00
054a6192d1
Capture more singletons in /etc and avoid apt duplication
Some checks failed
Lint / test (push) Waiting to run
Trivy / test (push) Waiting to run
CI / test (push) Has been cancelled
2025-12-27 19:02:22 +11:00
4d2250f974
Add fedora rpm building
All checks were successful
CI / test (push) Successful in 4m45s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 17s
2025-12-27 16:56:30 +11:00
8c478249d9
Add build-deb action workflow
All checks were successful
CI / test (push) Successful in 4m48s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 17s
2025-12-23 17:22:50 +11:00
51196a0a2b
Fix trivy exit code
All checks were successful
CI / test (push) Successful in 4m48s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 17s
2025-12-22 17:28:10 +11:00
59239eb2d2
Fix formatting in README
All checks were successful
CI / test (push) Successful in 5m33s
Lint / test (push) Successful in 30s
Trivy / test (push) Successful in 17s
2025-12-20 18:38:05 +11:00
cf819f755a
0.1.3
All checks were successful
CI / test (push) Successful in 5m35s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 20s
2025-12-20 18:26:04 +11:00
9641637d4d
Add support for an enroll.ini config file to store arguments per subcommand, to avoid having to remember them all for repetitive executions.
Some checks failed
Lint / test (push) Waiting to run
Trivy / test (push) Waiting to run
CI / test (push) Has been cancelled
2025-12-20 18:24:46 +11:00
240e79706f
Allow the user to add extra paths to harvest, or
All checks were successful
CI / test (push) Successful in 5m31s
Lint / test (push) Successful in 34s
Trivy / test (push) Successful in 19s
paths to ignore, using `--exclude-path` and
`--include-path` arguments.
2025-12-20 17:47:00 +11:00
25add369dc
README.md update
All checks were successful
CI / test (push) Successful in 5m3s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 18s
2025-12-18 17:24:45 +11:00
4660a0703e
Include files from /usr/local/bin and /usr/local/etc in harvest (assuming they aren't binaries or symlinks) and store in usr_local_custom role, similar to etc_custom.
All checks were successful
CI / test (push) Successful in 5m43s
Lint / test (push) Successful in 30s
Trivy / test (push) Successful in 19s
2025-12-18 17:11:04 +11:00
b5d2b99174
Add diff mode
All checks were successful
CI / test (push) Successful in 5m14s
Lint / test (push) Successful in 30s
Trivy / test (push) Successful in 23s
2025-12-18 14:59:51 +11:00
55e50ebf59
Fix end of file/whitespace per pre-commit
All checks were successful
CI / test (push) Successful in 5m11s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 17s
2025-12-18 13:50:00 +11:00
e94bd86c75
Add files param to bandit pre-commit
Some checks failed
Lint / test (push) Waiting to run
Trivy / test (push) Waiting to run
CI / test (push) Has been cancelled
2025-12-18 13:45:59 +11:00
bfa2f4a724
Add bandit to pre-commit 2025-12-18 13:44:26 +11:00
591ecaa235
Add pre-commit config
Some checks failed
Lint / test (push) Waiting to run
Trivy / test (push) Waiting to run
CI / test (push) Has been cancelled
2025-12-18 13:41:22 +11:00
a235028f3b
black
All checks were successful
CI / test (push) Successful in 5m38s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 21s
2025-12-18 13:34:37 +11:00
62ec8e8b1b
Silence bandit paranoia on certain lines
Some checks failed
CI / test (push) Successful in 5m24s
Lint / test (push) Failing after 29s
Trivy / test (push) Successful in 20s
2025-12-17 19:05:07 +11:00
9ebd8ff990
remove --out from harvest examples with remote mode, in README 2025-12-17 19:03:31 +11:00
33b1176800
Add --sops mode to encrypt harvest and manifest data at rest (especially useful if using --dangerous)
Some checks failed
CI / test (push) Successful in 5m35s
Lint / test (push) Failing after 29s
Trivy / test (push) Successful in 18s
2025-12-17 18:51:40 +11:00
6a36a9d2d5
Remote mode and dangerous flag, other tweaks
* Add remote mode for harvesting a remote machine via a local workstation (no need to install enroll remotely)
   Optionally use `--no-sudo` if you don't want the remote user to have passwordless sudo when conducting the
   harvest, albeit you'll end up with less useful data (same as if running `enroll harvest` on a machine without
   sudo)
 * Add `--dangerous` flag to capture even sensitive data (use at your own risk!)
 * Do a better job at capturing other config files in `/etc/<package>/` even if that package doesn't normally
   ship or manage those files.
2025-12-17 17:02:16 +11:00
026416d158
Fix tests
All checks were successful
CI / test (push) Successful in 5m36s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 21s
2025-12-16 20:48:08 +11:00
f40b9d834d
black and pyflakes3 2025-12-16 20:15:21 +11:00
f255ba566c
biiiiig refactor to support jinjaturtle and multi site mode 2025-12-16 20:14:20 +11:00
576649a49c
README.md adjustment
All checks were successful
CI / test (push) Successful in 5m1s
Lint / test (push) Successful in 29s
Trivy / test (push) Successful in 18s
2025-12-15 17:13:06 +11:00
e4be7f5975
Rename secrets to ignore as it does more than secrets
All checks were successful
CI / test (push) Successful in 5m35s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 17s
2025-12-15 17:03:28 +11:00
4882ddff49
Add custom_etc and users last
Some checks failed
CI / test (push) Successful in 5m5s
Lint / test (push) Failing after 28s
Trivy / test (push) Successful in 18s
2025-12-15 16:46:39 +11:00
651549b949
Change message about whether it is a meta package or not 2025-12-15 16:28:10 +11:00
b7ffc4e7c2
0.0.3
All checks were successful
CI / test (push) Successful in 5m18s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 20s
2025-12-15 15:10:13 +11:00
883e9f963f
use no-cache
Some checks failed
Lint / test (push) Waiting to run
Trivy / test (push) Waiting to run
CI / test (push) Has been cancelled
2025-12-15 15:05:09 +11:00
9edbfb676a
Remove obsolete comment in release.sh 2025-12-15 15:04:43 +11:00
25550c21bf
poetry lock
All checks were successful
CI / test (push) Successful in 4m56s
Lint / test (push) Successful in 30s
Trivy / test (push) Successful in 18s
2025-12-15 13:37:49 +11:00
18ca83c255
remove ansible from dev dependencies 2025-12-15 13:37:41 +11:00
2f5a65b737
Bump version
Some checks failed
CI / test (push) Failing after 1m18s
Lint / test (push) Successful in 28s
Trivy / test (push) Successful in 18s
2025-12-15 13:34:20 +11:00
82dc870213
Debian packaging 2025-12-15 13:33:56 +11:00
d8fb33f0d0
hmm
All checks were successful
CI / test (push) Successful in 4m58s
Lint / test (push) Successful in 29s
Trivy / test (push) Successful in 18s
2025-12-15 13:23:11 +11:00
019f6bf6f3
Attempt fix for unit name
Some checks failed
CI / test (push) Failing after 4m44s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 21s
2025-12-15 12:49:50 +11:00
c6f174dd55
fix...
Some checks failed
CI / test (push) Failing after 4m43s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 21s
2025-12-15 12:34:26 +11:00
ac0c884c39
Another fix for systemd unit file
Some checks failed
CI / test (push) Failing after 1m37s
Lint / test (push) Failing after 28s
Trivy / test (push) Successful in 19s
2025-12-15 12:28:21 +11:00
283f3286f2
Fix test
Some checks failed
CI / test (push) Failing after 1m34s
Lint / test (push) Successful in 29s
Trivy / test (push) Successful in 19s
2025-12-15 12:22:59 +11:00
2eecb73a49
Ensure we only try to enable service if the unit file existed
Some checks failed
CI / test (push) Failing after 2m0s
Lint / test (push) Successful in 31s
Trivy / test (push) Successful in 18s
2025-12-15 12:18:26 +11:00
2c5e901450
needs python3-apt for tests
Some checks failed
CI / test (push) Failing after 5m11s
Lint / test (push) Successful in 30s
Trivy / test (push) Successful in 19s
2025-12-15 12:01:01 +11:00