|
| 1 | +--- |
| 2 | +pcx_content_type: reference |
| 3 | +title: OpenAI |
| 4 | +rss: file |
| 5 | +--- |
| 6 | + |
| 7 | +import { Render } from "~/components"; |
| 8 | + |
| 9 | +The OpenAI integration detects a variety of data loss prevention, account misconfiguration, and user security risks in an integrated OpenAI account that could leave you and your organization vulnerable. |
| 10 | + |
| 11 | +This integration covers the following OpenAI products: |
| 12 | + |
| 13 | +- ChatGPT Enterprise (Workspaces) |
| 14 | +- OpenAI Platform Projects (API keys) |
| 15 | +- GPTs (custom GPTs) |
| 16 | + |
| 17 | +:::note |
| 18 | +Before you begin, ensure that OpenAI has enabled ChatGPT Enterprise Compliance API access for your organization. You will need an Admin API key issued for your organization, your Organization ID, and your Workspace ID. These are available in your [ChatGPT Admin Settings](https://chatgpt.com/admin/settings). |
| 19 | + |
| 20 | +If Compliance API access is not yet turned on for your organization, refer to [Enable Compliance API access](#enable-combliane-api-access). |
| 21 | +::: |
| 22 | + |
| 23 | +## Integration prerequisites |
| 24 | + |
| 25 | +- An OpenAI organization with a ChatGPT Enterprise workspace |
| 26 | +- Organization-level admin privileges to create and manage Admin API keys |
| 27 | +- (Optional) A Project API key and the corresponding Project ID if you plan to include OpenAI Platform Projects in the scan scope |
| 28 | + |
| 29 | +### Enable Compliance API access |
| 30 | + |
| 31 | +Compliance API access is required to use the OpenAI CASB integration. To enable Compliance API access: |
| 32 | + |
| 33 | +1. Contact `[email protected]` to request access to the Compliance API for your organization and for the API key you will use with Cloudflare CASB. In your request, include: |
| 34 | + - The last four characters of the API key |
| 35 | + - The name of the API key |
| 36 | + - The name of the user who created the key |
| 37 | + - The requested scope (`read`, `write`, or both) |
| 38 | +2. OpenAI will verify the key and grant the requested Compliance API scopes. |
| 39 | +3. After the scopes are granted, [add the OpenAI integration to CASB](/cloudflare-one/applications/casb/#add-an-integration). When prompted, enter your Open AI Admin API key, Organization ID, and Workspace ID (available at `https://chatgpt.com/admin/settings`). |
| 40 | + |
| 41 | +For more information, refer to the [OpenAI Help Center](https://help.openai.com/articles/9261474-compliance-api-for-enterprise-customers). |
| 42 | + |
| 43 | +## Integration permissions |
| 44 | + |
| 45 | +For the OpenAI integration to function, Cloudflare CASB requires the following authorization via API keys: |
| 46 | + |
| 47 | +- `Admin API key (organization-level)`: Grants read-only access to organization/workspace metadata, GPTs, users, invites, and audit/compliance objects exposed by the ChatGPT Enterprise Compliance API. |
| 48 | +- (Optional) `Project API key (project-level)`: Grants read-only access to OpenAI Platform project metadata and keys. |
| 49 | + |
| 50 | +These credentials follow the principle of least privilege so that only the minimum required access is granted. |
| 51 | + |
| 52 | +## Security findings |
| 53 | + |
| 54 | +<Render |
| 55 | + file="casb/security-findings" |
| 56 | + product="cloudflare-one" |
| 57 | + params={{ integrationName: "OpenAI", slugRelativePath: "openai" }} |
| 58 | +/> |
| 59 | + |
| 60 | +### Model and tool governance |
| 61 | + |
| 62 | +Flag risky tool and capability settings on custom GPTs. |
| 63 | + |
| 64 | +| Finding type | FindingTypeID | Severity | ChatGPT Enterprise required | |
| 65 | +| ----------------------------------------- | -------------------------------------- | -------- | --------------------------- | |
| 66 | +| OpenAI: GPT with Custom Actions enabled | `5a2995f5-0cc1-4af3-9045-cdf7e6601f7b` | High | ✅ | |
| 67 | +| OpenAI: GPT with Code Interpreter enabled | `d368036a-be90-49f0-b7da-5092a3f8beb4` | Medium | ✅ | |
| 68 | +| OpenAI: GPT with web browsing enabled | `3af14358-5ff2-4502-921e-7ffd9a310093` | Medium | ✅ | |
| 69 | + |
| 70 | +### Publishing and sharing |
| 71 | + |
| 72 | +Identify GPTs that are externally visible beyond your organization. |
| 73 | + |
| 74 | +| Finding type | FindingTypeID | Severity | ChatGPT Enterprise required | |
| 75 | +| ----------------------------------------------- | -------------------------------------- | -------- | --------------------------- | |
| 76 | +| OpenAI: GPT publicly accessible via GPT Store | `c69adfa6-2362-4939-86ec-49ff34093cfd` | High | ✅ | |
| 77 | +| OpenAI: GPT publicly accessible via public link | `de460c9f-55c0-4131-9cdf-e4c3b84f9549` | High | ✅ | |
| 78 | + |
| 79 | +### API key hygiene |
| 80 | + |
| 81 | +Detect API keys that may be stale, unused, or overdue for rotation. |
| 82 | + |
| 83 | +| Finding type | FindingTypeID | Severity | ChatGPT Enterprise required | |
| 84 | +| ----------------------------------- | -------------------------------------- | -------- | --------------------------- | |
| 85 | +| OpenAI: Admin API key not rotated | `b72e971d-f5b9-4cf3-96f4-ef82bdf38453` | High | ❌ | |
| 86 | +| OpenAI: Project API key not rotated | `2c079fe8-6188-43e1-a2e5-d0e2dd8c7686` | High | ❌ | |
| 87 | +| OpenAI: Unused admin API key | `49c75a36-1e64-437b-98a1-e54ec35d0a64` | Medium | ❌ | |
| 88 | +| OpenAI: Unused project API key | `c8fd231b-de51-43cc-8c3f-e1e57114c5f5` | Medium | ❌ | |
| 89 | + |
| 90 | +### Access security |
| 91 | + |
| 92 | +Flag user/invite issues to help enforce best practices. |
| 93 | + |
| 94 | +| Finding type | FindingTypeID | Severity | ChatGPT Enterprise required | |
| 95 | +| ----------------------------- | -------------------------------------- | -------- | --------------------------- | |
| 96 | +| OpenAI: High-privilege invite | `776ceb93-fa9a-4ca0-83db-668a67c09936` | High | ❌ | |
| 97 | +| OpenAI: Inactive user | `20ab9ddb-fd48-46a8-9fdf-9bb9b9061f21` | Medium | ❌ | |
| 98 | +| OpenAI: Stale pending invite | `18fd5b21-8489-485e-9c93-0bd4a696e724` | Low | ❌ | |
| 99 | + |
| 100 | +### Data Loss Prevention (optional) |
| 101 | + |
| 102 | +<Render file="casb/data-loss-prevention" product="cloudflare-one" /> |
| 103 | + |
| 104 | +| Finding type | FindingTypeID | Severity | ChatGPT Enterprise required | |
| 105 | +| ----------------------------------------------------------- | -------------------------------------- | -------- | --------------------------- | |
| 106 | +| OpenAI: File in ChatGPT Conversation with DLP Profile match | `9aca654d-b331-4052-a5b4-2ceecced8676` | High | ✅ | |
| 107 | +| OpenAI: File in ChatGPT GPT with DLP Profile match | `520200f5-7dcc-42c9-bc3c-423019159d45` | High | ✅ | |
| 108 | +| OpenAI: File in ChatGPT Project with DLP Profile match | `8e46ec69-e5c1-4f53-ab00-a92f2050ec33` | High | ❌ | |
0 commit comments