|
1 | 1 | <?xml version='1.0' encoding='UTF-8'?> |
2 | 2 | <!DOCTYPE html> |
3 | | -<html xmlns="http://www.w3.org/1999/xhtml" class="chrometwo"><head><title>Audit logs in Red Hat Developer Hub</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css"/><meta name="generator" content="publican v4.3.2"/><meta name="description" content="As a Red Hat Developer Hub (RHDH) administrator, you can track user activities, system events, and data changes with Developer Hub audit logs."/><link rel="next" href="#assembly-audit-log" title="1. Audit logs in Red Hat Developer Hub"/><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><script type="text/javascript" src="Common_Content/scripts/jquery-1.7.1.min.js"> </script><script type="text/javascript" src="Common_Content/scripts/utils.js"> </script><script type="text/javascript" src="Common_Content/scripts/highlight.js/highlight.pack.js"> </script></head><body><div id="chrometwo"><div id="main"><section xml:lang="en-US" class="article" id="idm45976836346640"><div class="titlepage"><div><div class="producttitle"><span class="productname">Red Hat Developer Hub</span> <span class="productnumber">1.7</span></div><div><h1 class="title">Audit logs in Red Hat Developer Hub</h1></div><div><h3 class="subtitle"><em>Tracking user activities, system events, and data changes with Red Hat Developer Hub audit logs</em></h3></div><div><div xml:lang="en-US" class="authorgroup"><span class="orgname">Red Hat Customer Content Services</span></div></div><div><a href="#idm45976814821968">Legal Notice</a></div><div><div class="abstract"><p class="title"><strong>Abstract</strong></p><div class="para"> |
| 3 | +<html xmlns="http://www.w3.org/1999/xhtml" class="chrometwo"><head><title>Audit logs in Red Hat Developer Hub</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css"/><meta name="generator" content="publican v4.3.2"/><meta name="description" content="As a Red Hat Developer Hub (RHDH) administrator, you can track user activities, system events, and data changes with Developer Hub audit logs."/><link rel="next" href="#assembly-audit-log" title="1. Audit logs in Red Hat Developer Hub"/><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><script type="text/javascript" src="Common_Content/scripts/jquery-1.7.1.min.js"> </script><script type="text/javascript" src="Common_Content/scripts/utils.js"> </script><script type="text/javascript" src="Common_Content/scripts/highlight.js/highlight.pack.js"> </script></head><body><div id="chrometwo"><div id="main"><section xml:lang="en-US" class="article" id="idm46267806629792"><div class="titlepage"><div><div class="producttitle"><span class="productname">Red Hat Developer Hub</span> <span class="productnumber">1.7</span></div><div><h1 class="title">Audit logs in Red Hat Developer Hub</h1></div><div><h3 class="subtitle"><em>Tracking user activities, system events, and data changes with Red Hat Developer Hub audit logs</em></h3></div><div><div xml:lang="en-US" class="authorgroup"><span class="orgname">Red Hat Customer Content Services</span></div></div><div><a href="#idm46267792360288">Legal Notice</a></div><div><div class="abstract"><p class="title"><strong>Abstract</strong></p><div class="para"> |
4 | 4 | As a Red Hat Developer Hub (RHDH) administrator, you can track user activities, system events, and data changes with Developer Hub audit logs. |
5 | 5 | </div></div></div></div><hr/></div><div class="toc"><ul class="toc"><li><span class="section"><a href="#assembly-audit-log">1. Audit logs in Red Hat Developer Hub</a></span><ul><li><span class="section"><a href="#con-audit-log-config_assembly-audit-log">1.1. Configuring audit logs for Developer Hub on OpenShift Container Platform</a></span></li><li><span class="section"><a href="#proc-forward-audit-log-splunk_assembly-audit-log">1.2. Forwarding Red Hat Developer Hub audit logs to Splunk</a></span></li><li><span class="section"><a href="#proc-audit-log-view_assembly-audit-log">1.3. Viewing audit logs in Developer Hub</a></span></li></ul></li></ul></div><section class="section" id="assembly-audit-log"><div class="titlepage"><div><div><h2 class="title">1. Audit logs in Red Hat Developer Hub</h2></div></div></div><p> |
6 | 6 | Audit logs are a chronological set of records documenting the user activities, system events, and data changes that affect your Red Hat Developer Hub users, administrators, or components. Administrators can view Developer Hub audit logs in the OpenShift Container Platform web console to monitor scaffolder events, changes to the RBAC system, and changes to the Catalog database. Audit logs include the following information: |
|
27 | 27 | </p></div></div><section class="section" id="con-audit-log-config_assembly-audit-log"><div class="titlepage"><div><div><h3 class="title">1.1. Configuring audit logs for Developer Hub on OpenShift Container Platform</h3></div></div></div><p> |
28 | 28 | Use the OpenShift Container Platform web console to configure the following OpenShift Container Platform logging components to use audit logging for Developer Hub: |
29 | 29 | </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">Logging deployment</span></dt><dd> |
30 | | - Configure the logging environment, including both the CPU and memory limits for each logging component. For more information, see <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#cluster-logging-memory">Red Hat OpenShift Container Platform - Configuring your Logging deployment</a>. |
| 30 | + Configure the logging environment, including both the CPU and memory limits for each logging component. |
31 | 31 | </dd><dt><span class="term">Logging collector</span></dt><dd> |
32 | | - Configure the <code class="literal">spec.collection</code> stanza in the <code class="literal">ClusterLogging</code> custom resource (CR) to use a supported modification to the log collector and collect logs from <code class="literal">STDOUT</code>. For more information, see <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#cluster-logging-collector">Red Hat OpenShift Container Platform - Configuring the logging collector</a>. |
| 32 | + Configure the <code class="literal">spec.collection</code> stanza in the <code class="literal">ClusterLogging</code> custom resource (CR) to use a supported modification to the log collector and collect logs from <code class="literal">STDOUT</code>. |
33 | 33 | </dd><dt><span class="term">Log forwarding</span></dt><dd> |
34 | | - Send logs to specific endpoints inside and outside your OpenShift Container Platform cluster by specifying a combination of outputs and pipelines in a <code class="literal">ClusterLogForwarder</code> CR. For more information, see <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#cluster-logging-json-log-forwarding_cluster-logging-enabling-json-logging">Red Hat OpenShift Container Platform - Enabling JSON log forwarding</a> and <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#configuring-log-forwarding">Red Hat OpenShift Container Platform - Configuring log forwarding</a>. |
35 | | - </dd></dl></div></section><section class="section" id="proc-forward-audit-log-splunk_assembly-audit-log"><div class="titlepage"><div><div><h3 class="title">1.2. Forwarding Red Hat Developer Hub audit logs to Splunk</h3></div></div></div><p> |
| 34 | + Send logs to specific endpoints inside and outside your OpenShift Container Platform cluster by specifying a combination of outputs and pipelines in a <code class="literal">ClusterLogForwarder</code> CR. |
| 35 | + </dd></dl></div><div class="itemizedlist"><p class="title"><strong>Additional resources</strong></p><ul class="itemizedlist" type="disc"><li class="listitem"> |
| 36 | + <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#cluster-logging-memory">Red Hat OpenShift Container Platform - Configuring your Logging deployment</a> |
| 37 | + </li><li class="listitem"> |
| 38 | + <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#cluster-logging-collector">Red Hat OpenShift Container Platform - Configuring the logging collector</a> |
| 39 | + </li><li class="listitem"> |
| 40 | + <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#cluster-logging-json-log-forwarding_cluster-logging-enabling-json-logging">Red Hat OpenShift Container Platform - Enabling JSON log forwarding</a> |
| 41 | + </li><li class="listitem"> |
| 42 | + <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/logging/index#configuring-log-forwarding">Red Hat OpenShift Container Platform - Configuring log forwarding</a> |
| 43 | + </li></ul></div></section><section class="section" id="proc-forward-audit-log-splunk_assembly-audit-log"><div class="titlepage"><div><div><h3 class="title">1.2. Forwarding Red Hat Developer Hub audit logs to Splunk</h3></div></div></div><p> |
36 | 44 | You can use the Red Hat OpenShift Logging (OpenShift Logging) Operator and a <code class="literal">ClusterLogForwarder</code> instance to capture the streamed audit logs from a Developer Hub instance and forward them to the HTTPS endpoint associated with your Splunk instance. |
37 | 45 | </p><div class="itemizedlist"><p class="title"><strong>Prerequisites</strong></p><ul class="itemizedlist" type="disc"><li class="listitem"> |
38 | 46 | You have a cluster running on a supported OpenShift Container Platform version. |
|
194 | 202 | From the <span class="strong strong"><strong>Logs</strong></span> view, enter <code class="literal">isAuditEvent</code> into the <span class="strong strong"><strong>Search</strong></span> field to filter audit logs from other log types. You can use the arrows to browse the logs containing the <code class="literal">isAuditEvent</code> field. |
195 | 203 | </li></ol></div><div class="itemizedlist _additional-resources"><p class="title"><strong>Additional resources</strong></p><ul class="itemizedlist _additional-resources" type="disc"><li class="listitem"> |
196 | 204 | <a class="link" href="https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/observability/logging/cluster-logging.html">About Logging in Red Hat OpenShift Container Platform</a> |
197 | | - </li></ul></div></section></section><div><div xml:lang="en-US" class="legalnotice" id="idm45976814821968"><h1 class="legalnotice">Legal Notice</h1><div class="para"> |
| 205 | + </li></ul></div></section></section><div><div xml:lang="en-US" class="legalnotice" id="idm46267792360288"><h1 class="legalnotice">Legal Notice</h1><div class="para"> |
198 | 206 | Copyright <span class="trademark"/>© 2025 Red Hat, Inc. |
199 | 207 | </div><div class="para"> |
200 | 208 | The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at <a class="uri" href="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</a>. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. |
|
0 commit comments