Skip to content

Add OpenSCAP compliance card to host details - #615

Draft
sbernhard wants to merge 1 commit into
theforeman:masterfrom
ATIX-AG:add_card
Draft

Add OpenSCAP compliance card to host details#615
sbernhard wants to merge 1 commit into
theforeman:masterfrom
ATIX-AG:add_card

Conversation

@sbernhard

@sbernhard sbernhard commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

The compliance card has

  • Show last state
  • Show Rule result of last report
  • Show date of last report and link to last report
  • Show how many policies. If you click on the Policy count you see all used policies and the source (host, hostgroup). Additionally, its possible to set / unset directly to host.

Card:
image

Modal view to assign / unassign policies. It shows host and host group assignments and allows to assign / unassign direct host assignments:
image

@sbernhard

sbernhard commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Needs to be rebased after #617 was merged

@sbernhard

Copy link
Copy Markdown
Contributor Author

@Lukshio / @MariaAga do you have some thoughts about this?

@MariaAga

Copy link
Copy Markdown
Member

@sbernhard Hi! we will look and review it, in these 2 weeks we dont have capacity because of other commitments, but we will probably have time after

@sbernhard

sbernhard commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

@sbernhard Hi! we will look and review it, in these 2 weeks we dont have capacity because of other commitments, but we will probably have time after

Thanks @MariaAga. I think this can also improve #616, too :)

Add a compliance card to the new host details overview using the existing
OpenSCAP APIs. The card shows the compliance status, latest rule result
counts, latest ARF report link, and assigned policy count.

Add a policy management modal that lists resolved policies with their source,
allows unsetting direct host policy assignments, and allows assigning an
available policy directly to the host. Keep hostgroup and inherited policies
read-only because the existing API only supports direct host assignment from
this context.

Co-authored-by: OpenAI Codex <codex@openai.com>
@sbernhard

Copy link
Copy Markdown
Contributor Author

Rebased and tests are green again @MariaAga
Same as for the performance improvement in #614 (it has 2 commits, therefore the pipeline is red)

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.

2 participants