The Drata integration uploads the certificate of completion of each training module that an employee passes to the related person in your Drata account. Drata uses these certificates as evidence of security training and HIPAA training.
Table of Contents
- Before You Start
- Step 1. Create An API Key In Drata
- Step 2. Configure The Integration In CanIPhish
- What The Integration Sends To Drata
- Disconnect The Integration
- Frequently Asked Questions
Before You Start
- A paid subscription. On a free tenant, the Setup Integration button is locked.
- The Platform Super Admin or Platform Admin role. Other roles do not see Integration Settings. If your platform is on a white-label domain that hides CanIPhish branded resources, only the Platform Super Admin sees Integration Settings.
- A Drata account in which you can create API keys.
- The same email address in the platform and in Drata. The integration finds a person in Drata by the email address of the employee. A certificate is uploaded only if a person with the same email address is in Drata.
Step 1. Create An API Key In Drata
- Sign in to your Drata account.
- Select your account at the bottom of the navigation on the left side, and then select Settings:
- On the Settings page, select API Keys:
- Select Create API Key:
- In the Details section, set these values:
- Name: a name that identifies the integration, for example "CanIPhish Drata Integration"
- Expiration: Never Expires
- Allowed IP Addresses: keep this field empty. The platform does not connect to Drata from fixed IP addresses.
- In the Scopes section, set Access to Custom:
- Below Personnel, select List Personnel and Get Personnel:
- Below Users, select List User Documents and Create User Document. The Create User Document scope must have write access:
- Select Save.
- Copy the API key and keep it in a safe location. You use it in Step 2, and Drata does not show it again. Then select the checkbox I have stored this API Key information in a secure location, and select Done:
If you select an expiration date for the key, the integration stops when the key expires. You must then create a new key and set up the integration again.
Drata can change the names and the layout of its pages. If a page in Drata does not agree with this article, refer to the Drata documentation.
Step 2. Configure The Integration In CanIPhish
- Sign in to the platform.
- Click Platform Settings in the sidebar, and then select Integration Settings. The CanIPhish Integrations window opens.
- In the Drata row, select Setup Integration:
- The Drata Integration - Setup window opens. Paste the API key from Step 1 into the API Key field.
- In the Drata Region list, select the region of your Drata account: North America (US), Europe (EU) or Asia-Pacific (AP). If you do not know the region, ask your contact person at Drata.
- Select Activate Integration:
The message Drata has been successfully integrated! shows. The platform now starts a one-time synchronization. For each person who is in Drata, it uploads the certificates of all training modules that the person passed before the setup. This can take some minutes. During this time, the Drata row shows Last Sync: Underway. If the row shows Last Sync: Underway for more than one hour, contact our support team.
After the one-time synchronization, the platform uploads each new certificate one or two minutes after an employee passes a training module.
Make sure that the certificates arrive. The platform does not examine the API key when you activate the integration. After some minutes, do these two checks:
- Open Integration Settings again. If the Drata row shows Status: Sync Error, the API key, its scopes or the region are not correct. See the question about this status.
- In Drata, open a person who passed a training module, and make sure that the certificate shows on the person.
What The Integration Sends To Drata
- Certificates. The integration uploads one certificate of completion (a PDF file) for each training module that an employee passes in your tenant. The file name contains the name of the training module.
- Persons. The integration finds the person in Drata by the email address. If no person in Drata has the email address of the employee, the certificate is not uploaded, and the platform does not try again later. The integration does not add persons to Drata.
- Security training or HIPAA training. The platform sends a certificate to Drata as security training evidence. If the training module has a compliance mapping to HIPAA, the platform sends the certificate as HIPAA training evidence, and not as security training evidence.
- Each pass. If an employee passes the same training module again, the platform uploads a new certificate. The earlier certificate stays in Drata.
- Not sent. The integration does not send training that is assigned but not passed, due dates, or the results of phishing simulations.
The Last Sync line in the Drata row shows the time since the one-time synchronization. It does not change when the platform uploads later certificates.
Disconnect The Integration
- Click Platform Settings in the sidebar, and then select Integration Settings.
- In the Drata row, select Disconnect Access.
- A confirmation window opens. Select Yes, disconnect access.
The message Drata has been successfully disconnected! shows. The platform deletes the API key that it stored, and stops the uploads. The platform does not delete the certificates that Drata already has. If you do not use the API key for a different purpose, delete it in Drata.
You cannot change the API key or the region of an active integration. To change them, disconnect the integration, and then set it up again.
Frequently Asked Questions
What Happens If I Disconnect And Reconnect The Drata Integration?
When you set up the Drata integration again after a disconnect, the Drata Integration - Setup window shows one more list: Certificate Sync. It has two options:
- All Certificates (Existing & New): the Drata integration uploads all certificates again, and then each new certificate. Select this option only if the earlier certificates did not arrive in Drata. If they did arrive, each certificate shows two times in Drata.
- New Certificates Only: the Drata integration uploads only the certificates of training modules that employees pass from now on. Select this option if the earlier certificates are in Drata.
The Drata Integration Is Active, But Certificates Do Not Show In Drata. Why?
Make sure of these points for the Drata integration:
- The API key in Drata has all four scopes of Step 1: List Personnel, Get Personnel, List User Documents and Create User Document. The Create User Document scope must have write access, not read-only access.
- The API key did not expire, and it was not deleted in Drata.
- The Drata Region that you selected is the region of your Drata account.
- The person is in Drata, with the same email address as in the platform.
A corrected API key in Drata applies to new certificates only. To upload the certificates that did not arrive, disconnect the Drata integration, set it up again, and select All Certificates (Existing & New) in the Certificate Sync list.
The Drata Row Shows "Status: Sync Error". What Do I Do?
The Drata integration could not read the persons of your Drata account. The usual causes are an API key that is not correct, an API key without the scopes of Step 1, or a Drata Region that is not the region of your account. Disconnect the Drata integration, and then set it up again with a correct API key and region.
One Person Is Not Compliant In Drata, But The Employee Passed The Training. Why?
The Drata integration uploads a certificate at the time the employee passes the training module. If the person was not in Drata at that time, or if the email address in Drata was different, the certificate was not uploaded. Correct the email address or add the person in Drata. Then disconnect the Drata integration and set it up again with All Certificates (Existing & New). This uploads the certificates of all employees again, so the other persons then have each certificate two times in Drata.
Comments
0 comments
Please sign in to leave a comment.