# Code42 DLP

## Step 1: Generate API Client

1. **Log in to the Code42 Console**
   * Go to your organization's Code42 Incydr web console (e.g., `https://console.us.code42.com`).
2. **Navigate to API Client Management**
   * In the left-hand menu, look for ***Administration*** or ***Settings***.
   * Select **API Clients** or ***Integrations*** depending on your version.
3. **Create a New API Client**
   * Click ***Add API Client*** or ***Create New Integration***.
   * Provide a name and optional description for the client.
4. **Generate Credentials**
   * Once created, the console will display:
     * ***Client ID*** (a long alphanumeric string)
     * ***Client Secret*** (shown only once—copy and store securely)

## Step 2: Assign necessary

1. **Assign Permissions**
   * Ensure the API client has access to ***Audit Log*** endpoints.
   * You may need to assign roles or scopes like `audit.read` or `log.read`.

***

## Deliverables

Please email them to <socv2@cybrhawk.com>

1. **API Credentials**
   * Your ***Client ID***
   * Your ***Client Secret***
   * Your Code42 API domain e.g., ***'***[***https://api.us.code42.com***](https://api.us.code42.com)

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cybrhawksoc.gitbook.io/cybrhawk-docs/siem-integrations/content-security/code42-dlp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
