Community
Questions Library
Docs
Blog
Events
Swag
Github
Slack
JupiterOne
Discussions
Release Notes
Contact Us
Google Firebase - AskJ1 Community
<main> <article class="userContent"> <h2 data-id="google-firebase-jupiterone-integration-benefits">Google Firebase + JupiterOne Integration Benefits</h2> <ul><li>Visualize Google Firebase projects and users in the JupiterOne graph.</li> <li>Map Google Firebase projects to users in your JupiterOne account.</li> <li>Monitor changes to Google Firebase projects and users using JupiterOne alerts.</li> </ul><h2 data-id="how-it-works">How it Works</h2> <ul><li><p>JupiterOne periodically fetches projects and users from Google Firebase 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 JupiterOne graph changes, or leverage<br> existing alerts.</p></li> </ul><h2 data-id="requirements">Requirements</h2> <ul><li><p>JupiterOne requires the contents of a Google Cloud service account key file<br> with the correct API services enabled (see the <strong>Integration Walkthrough</strong>).</p></li> <li><p>You must have permission in JupiterOne to install new integrations.</p></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-google-firebase">In Google Firebase</h3> <p>A<br><a rel="nofollow" href="https://cloud.google.com/iam/docs/creating-managing-service-accounts">Google Cloud service account</a><br> and a<br><a rel="nofollow" href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys">Google Cloud service account key</a><br> must be created in order to run the integration. The service account key is used<br> to authenticate on behalf of the integration's Google Cloud project and ingest<br> data into JupiterOne.</p> <h4 data-id="creating-a-google-firebase-service-account-and-service-account-key">Creating a Google Firebase service account and service account key</h4> <ol><li>Go to Project Settings</li> <li>Go to Service Acounts tab</li> <li>Click "Create Service Account"</li> <li>After the service account is created, click "Generate new private key"</li> <li>In the pop-up, click "Generate key"</li> <li>Flatten the key and generate .env file by running</li> </ol><pre class="code codeBlock" spellcheck="false" tabindex="0"> yarn create-env-file ~/SERVICE_ACCOUNT_FILE_PATH_HERE.json </pre> <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>Google Firebase</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 Google<br> Firebase account in JupiterOne. Ingested entities will have this value stored<br> in <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 flattened <strong>Google Firebase Service Account Key File</strong> and generated<br> for use by JupiterOne.</p></li> </ul><ol start="4"><li>Click <strong>Create Configuration</strong> once all values are provided.</li> </ol><h1 data-id="how-to-uninstall">How to Uninstall</h1> <ol><li>From the top navigation of the J1 Search homepage, select <strong>Integrations</strong>.</li> <li>Scroll to the <strong>Google Firebase</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">google_firebase_account</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">Account</code></td> </tr><tr><td>Project</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_project</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">Project</code></td> </tr><tr><td>User</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_user</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">User</code></td> </tr><tr><td>Web App</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_webapp</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">Application</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">google_firebase_account</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_project</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_project</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_user</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_project</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">google_firebase_webapp</code></td> </tr></tbody></table><p><br></p> </article> </main>