Community
Questions Library
Docs
Blog
Events
Swag
Github
Slack
JupiterOne
Discussions
Release Notes
Contact Us
Cloudflare - AskJ1 Community
<main> <article class="userContent"> <h2 data-id="cloudflare-jupiterone-integration-benefits">Cloudflare + JupiterOne Integration Benefits</h2> <ul><li><p>Visualize Cloudflare users, access roles, domain zones, and domain records in<br> the JupiterOne graph.</p></li> <li><p>Map Cloudflare users to employees in your JupiterOne account.</p></li> <li>Monitor changes to Cloudflare users and access roles using JupiterOne alerts.</li> <li>Monitor changes to Cloudflare DNS settings using JupiterOne alerts.</li> </ul><h2 data-id="how-it-works">How it Works</h2> <ul><li><p>JupiterOne periodically fetches users and DNS settings from Cloudflare to<br> update the graph.</p></li> <li><p>Write JupiterOne queries to review and monitor updates to the graph, or<br> leverage existing queries.</p></li> <li><p>Configure alerts to take action when the JupiterOne graph changes, or leverage<br> existing alerts.</p></li> </ul><h2 data-id="requirements">Requirements</h2> <ul><li>JupiterOne requires a Cloudflare API Token to interact with the API.</li> <li>You must have permission in JupiterOne to install new integrations.</li> </ul><h2 data-id="support">Support</h2> <p>If you need help with this integration, please contact<br><a rel="nofollow" href="https://support.jupiterone.io">JupiterOne Support</a>.</p> <h2 data-id="integration-walkthrough">Integration Walkthrough</h2> <h3 data-id="in-cloudflare">In CloudFlare</h3> <p>The integration connects directly to <a rel="nofollow" href="https://api.cloudflare.com/">Cloudflare v4 REST API</a> to obtain DNS<br> related configuration information.</p> <p>Configure the integration by providing an API Token with read-only permissions.</p> <ul><li><code class="code codeInline" spellcheck="false" tabindex="0">organization:read</code> to list accounts, members, and roles</li> <li><code class="code codeInline" spellcheck="false" tabindex="0">zone:read</code> to list zones</li> <li><code class="code codeInline" spellcheck="false" tabindex="0">dns_records:read</code> to list records in a zone</li> </ul><p>Obtain an API token from the bottom of the <a rel="nofollow" href="https://dash.cloudflare.com/profile/api-tokens">"API Tokens" page</a> in your<br> Cloudflare account.</p> <h3 data-id="in-jupiterone">In JupiterOne</h3> <ol><li>From the top navigation of the J1 Search homepage, select <strong>Integrations</strong></li> <li>Scroll to the <strong>Cloudflare</strong> integration tile and click it.</li> <li>Click the <strong>Add Configuration</strong> button and configure the following settings:</li> </ol><ul><li><p>Enter the <strong>Account Name</strong> by which you'd like to identify this Cloudflare<br> account in JupiterOne. Ingested entities will have this value stored in<br><code class="code codeInline" spellcheck="false" tabindex="0">tag.AccountName</code> when <strong>Tag with Account Name</strong> is checked.</p></li> <li><p>Enter a <strong>Description</strong> that will further assist your team when identifying<br> the integration instance.</p></li> <li><p>Select a <strong>Polling Interval</strong> that you feel is sufficient for your monitoring<br> needs. You may leave this as <code class="code codeInline" spellcheck="false" tabindex="0">DISABLED</code> and manually execute the integration.</p></li> <li><p>Enter the <strong>API Token</strong> generated from your Cloudflare account, configured for<br> read access.</p></li> </ul><ol start="4"><li>Click <strong>Create Configuration</strong> once all values are provided.</li> </ol><h2 data-id="how-to-uninstall">How to Uninstall</h2> <ol><li>From the top navigation of the J1 Search homepage, select <strong>Integrations</strong></li> <li>Scroll to the <strong>Cloudflare</strong> integration tile and click it.</li> <li>Identify and click the <strong>integration to delete</strong>.</li> <li>Click the <strong>trash can</strong> icon.</li> <li>Click the <strong>Remove</strong> button to delete the integration.</li> </ol><p><br></p> <h2 data-id="data-model">Data Model</h2> <h3 data-id="entities">Entities</h3> <p>The following entities are created:</p> <table><thead><tr><th>Resources</th> <th>Entity <code class="code codeInline" spellcheck="false" tabindex="0">_type</code></th> <th>Entity <code class="code codeInline" spellcheck="false" tabindex="0">_class</code></th> </tr></thead><tbody><tr><td>Account</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">Account</code></td> </tr><tr><td>Account Member</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account_member</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">User</code></td> </tr><tr><td>Account Role</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account_role</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">AccessRole</code></td> </tr><tr><td>DNS Record</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_dns_record</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">DomainRecord</code></td> </tr><tr><td>DNS Zone</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_dns_zone</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">DomainZone</code></td> </tr></tbody></table><h3 data-id="relationships">Relationships</h3> <p>The following relationships are created:</p> <table><thead><tr><th>Source Entity <code class="code codeInline" spellcheck="false" tabindex="0">_type</code></th> <th>Relationship <code class="code codeInline" spellcheck="false" tabindex="0">_class</code></th> <th>Target Entity <code class="code codeInline" spellcheck="false" tabindex="0">_type</code></th> </tr></thead><tbody><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_dns_zone</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account_member</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account_role</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account_member</code></td> <td><strong>ASSIGNED</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_account_role</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_dns_zone</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">cloudflare_dns_record</code></td> </tr></tbody></table><p><br></p> </article> </main>