How-To: Export your Cloud PKI Logs to Kafka
Prerequisites
How To Export Your Cloud PKI Audit Logs To Kafka
How To Enable Log Export in EZCA Portal
-
Go to the EZCA Portal.
-
Click on Settings.
-
Expand your subscription’s Advanced Settings.
-
Enable the Send Audit Logs to SIEM option.
How To Configure Kafka Logs in the Kafka Portal
-
Open your Kafka instance in another window.
-
Identify your Kafka topic name and note it down.
-
Verify authentication support:
Ensure your Kafka server supports Plaintext SASL Authentication. -
Gather credentials:
Note the SASL username and password required for authentication.
How To Configure the Kafka SIEM in EZCA Portal
-
Go back to the EZCA tab.
-
From the SIEM Provider dropdown, select Kafka.
-
Enter your Kafka Broker URL, Kafka Topic, SASL Username, and SASL Password. Then click Test Connection. This sends a test log to your Kafka topic (allow a few minutes for it to show up).
-
If the connection test succeeds, scroll up and click Save Changes to apply your SIEM configuration.
-
Done! EZCA will now send your audit logs to Kafka.
What Logs are Sent to Kafka?
EZCA sends the following log types to your SIEM:
CA Operation Events
| Event ID | Event Summary | Description | Potential Criticality |
|---|---|---|---|
| 4882 | The security permissions for Certificate Services changed | A change in CA settings that might give or remove critical permissions | High |
| 92 | CA change denied due to insufficient permissions | A user attempted to change CA settings without the proper permissions | High |
| 23 | Intermediate CA request rejected | A new Intermediate CA request has been rejected | High |
| 19 | CA deleted | This indicates that a CA was deleted | High |
| 28 | Intermediate CA was imported | A new Intermediate CA has been created chaining to an external CA | Medium |
| 22 | Intermediate CA created with EZCA Root | A new Intermediate CA has been created chaining to an EZCA CA | Medium |
| 12 | CA was renewed | A CA has been renewed | Low |
Certificate Operation Events
| Event ID | Event Summary | Description | Potential Criticality |
|---|---|---|---|
| 4888 | Certificate request denied due to insufficient permissions | A user attempted to request a certificate without the proper permissions | High |
| 4870 | A certificate has been revoked | This can cause an outage if it was done by mistake or the new certificate is not added to all the endpoints that use the certificate | Medium |
| 4872 | Publish CRL | This is an event that the CRL has been published, this does not have to be tracked as we take care of it for you. | Low |
| 4887 | Certificate was created | This event indicates a certificate was created successfully | Low |