Skip to content

Conversation

@Elkasitu
Copy link
Contributor

Snippet records have an ephemeral purpose: to serve as pseudo-Flaws until either they can be automatically converted into a real Flaw or an analyst goes over them and extracts data from them in order to create a Flaw.

There is no way to expose nor modify Snippet records from outside the application, therefore there is no point in auditing any actions.

Audit logs of Snippet objects accounted for up to 80% of database disk utilization which can be bad for performance, cost, etc.

Closes OSIDB-4286

@Elkasitu Elkasitu added the technical For PRs that introduce changes not worthy of a CHANGELOG entry label Dec 23, 2025
@Elkasitu Elkasitu force-pushed the dont-audit-snippets branch from 6760964 to 73f0fc5 Compare December 23, 2025 15:17
Snippet records have an ephemeral purpose: to serve as pseudo-Flaws
until either they can be automatically converted into a real Flaw or an
analyst goes over them and extracts data from them in order to create a
Flaw.

There is no way to expose nor modify Snippet records from outside the
application, therefore there is no point in auditing any actions.

Audit logs of Snippet objects accounted for up to 80% of database disk
utilization which can be bad for performance, cost, etc.

Closes OSIDB-4286
@Elkasitu Elkasitu force-pushed the dont-audit-snippets branch from 73f0fc5 to 60c3d14 Compare December 23, 2025 15:35
@Elkasitu Elkasitu marked this pull request as ready for review December 23, 2025 16:42
@Elkasitu Elkasitu requested a review from a team December 23, 2025 16:42
Copy link
Contributor

@Jincxz Jincxz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical For PRs that introduce changes not worthy of a CHANGELOG entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants