Skip to content

Comments

OSDOCS-16155: OCPSTRAT-2482 Advanced Audit Logging Framework GA#107094

Closed
stevsmit wants to merge 1 commit intoopenshift:mainfrom
stevsmit:james-test-1
Closed

OSDOCS-16155: OCPSTRAT-2482 Advanced Audit Logging Framework GA#107094
stevsmit wants to merge 1 commit intoopenshift:mainfrom
stevsmit:james-test-1

Conversation

@stevsmit
Copy link
Member

Version(s):

Issue:

Link to docs preview:

QE review:

  • QE has approved this change.

Additional information:

@stevsmit stevsmit added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Feb 23, 2026
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 23, 2026

@stevsmit: This pull request references OSDOCS-16155 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Version(s):

Issue:

Link to docs preview:

QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 23, 2026
@openshift-ci openshift-ci bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Feb 23, 2026
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] AsciiDocDITA.TaskContents: The '.Procedure' block title is missing.

# grep "testfile" /tmp/logs/audit1.log | jq .
----

== Audit JSON Enricher Output
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] AsciiDocDITA.TaskSection: Sections are not allowed in DITA tasks.

oc adm node-logs --role=master --path=kube-apiserver/audit.log | grep "<request_UID>"
----

== Kubernetes API audit log output
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] AsciiDocDITA.TaskSection: Sections are not allowed in DITA tasks.

}
----

== Correlation key
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] AsciiDocDITA.TaskSection: Sections are not allowed in DITA tasks.

This correlation enables administrators to establish a complete audit trail: who executed a command (from Kubernetes API audit log: `kube:admin` from IP `xxx.xxx.xxx.xxx`) and what the command did at the system level (from SPO JSON Enricher log: `touch /tmp/testfile.txt`).


== Correlating with API Server Audit Log
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] AsciiDocDITA.TaskSection: Sections are not allowed in DITA tasks.

@@ -0,0 +1,81 @@
:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-debugging_"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.IdHasContextVariable: ID is missing the '_{context}' variable at the end of the ID.

:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-debugging_"]
= Auditing node debugging sessions
include::_attributes/common-attributes.adoc[]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.NoNestingInModules: You can only nest snippets or GitHub raw user content in modules.

@@ -0,0 +1,56 @@
:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-disable_"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.IdHasContextVariable: ID is missing the '_{context}' variable at the end of the ID.

:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-disable_"]
= Disabling Advanced Audit Logging
include::_attributes/common-attributes.adoc[]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.NoNestingInModules: You can only nest snippets or GitHub raw user content in modules.

[role="_abstract"]
To disable audit logging and revert all configurations:

.Procedure
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA.

@@ -0,0 +1,308 @@
:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-enabling_"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.IdHasContextVariable: ID is missing the '_{context}' variable at the end of the ID.

:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-enabling_"]
= Enabling Advanced Audit Logging
include::_attributes/common-attributes.adoc[]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.NoNestingInModules: You can only nest snippets or GitHub raw user content in modules.

@@ -0,0 +1,91 @@
:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-enricher_"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.IdHasContextVariable: ID is missing the '_{context}' variable at the end of the ID.

:_mod-docs-content-type: ASSEMBLY
[id="spo-logging-enricher_"]
= The Audit JSON log enricher
include::_attributes/common-attributes.adoc[]
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] OpenShiftAsciiDoc.NoNestingInModules: You can only nest snippets or GitHub raw user content in modules.

@openshift-ci
Copy link

openshift-ci bot commented Feb 23, 2026

@stevsmit: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@stevsmit stevsmit closed this Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants