This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

GitHub Enterprise Audit Logs

    SamurAI [Local] CollectorSamurAI [Cloud] Collector
    Picture1.svg

    This integration ingests audit logs from GitHub Enterprise Cloud using GitHub’s audit log streaming capability, delivered to the SamurAI platform via Splunk HTTP Event Collection (HEC).

    Prerequisites

    Ensure that a Samurai Cloud Collector of type Splunk HTTP Event Collector (HEC) has been deployed via the SamurAI Portal. 

    If you are planning to reuse an already deployed Samurai HEC Cloud Collector you will need (displayed only upon creation):

    • API URL
    • Token

    Configure audit log streaming

    For additional information you can refer to the GitHub documentation on streaming the audit log.

    To configure audit log streaming to the SamurAI Splunk HEC Cloud Collector, follow the steps below:

    1. Navigate to your enterprise

    2. Click Settings at the top of the enterprise page

    3. In the left sidebar, under Audit log, click Log streaming

    4. Click the Configure stream dropdown and select Splunk

    5. Perform the following steps using the values recorded during creation of a SamurAI Splunk HEC Collector:

      5.1 In the Domain field, enter the API URL of the SamurAI collector

      5.2 In the Port field, enter 443

      5.3 In the Token field, enter the SamurAI Splunk HEC Collector Token value

      5.4 Ensure Enable SSL verification is checked

    6. Click Check endpoint to verify GitHub can reach the SamurAI HEC endpoint

    7. Once verification succeeds, click Save

    Our Integration guide was accurate at the time of writing but vendors change things frequently! If you find errors or anything is outdated, let us know by raising a request in the SamurAI MDR Portal and we shall get it updated.