Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scheduled cryptographic verification of root file systme #15677

Closed
wants to merge 15 commits into from

Conversation

mgrimesix
Copy link
Contributor

Add scheduled cryptographic verification of root file system for STIG

This PR should be merged with the same named PRs in truenas_verify and scale-build.

  • Add OS file system cryptographic verification to audit setup. The audit setup runs at initial install and every OS update. The verification is achieved via truenas_verify . The install/update truenas_verify call will generate a versioned discrepancy log in the /var/log/audit directory.
  • Add scheduled cryptographic verification of the OS file system via an Alert check. Discrepancies found during the scheduled runs are reported in syslog.
  • The schedule is currently set to run every 60 minutes.

NOTE: The truenas_verify call can take several seconds on a VM. This increases the initial boot and update boots by the same amount.

CI tests and inclusion in a diagnostic will be added in separate PRs

yocalebo and others added 15 commits February 7, 2025 15:05
This nginx directive is not required anymore since the middleware
path was removed.
* remove dead end-point

* remove unused imports

* remove more dead endpoints and test

* remove unnecessary endpoint from device

* fix device.get_info SERIAL
* remove unused imports

* fix STIG api tests
* convert unused public to private

* remove dead endpoints
* Fix bug when retrieving netmask for virt aliases

* Reflect change in 25.10 API
We now raise exception if job id does not match an existing
job for the user.
…l cores (#15514)

* map hyper-threaded ids temps

* be sure and add virtual temp to total_temp

* Small fix

---------

Co-authored-by: Caleb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants