BigID API/Scan Payload Tutorial: Difference between revisions
No edit summary |
|||
Line 29: | Line 29: | ||
<html><img style="width:100%" src="https://wiki-images.bigid.tools/cdn/enablescan/4.jpeg"/></html> | <html><img style="width:100%" src="https://wiki-images.bigid.tools/cdn/enablescan/4.jpeg"/></html> | ||
This value will now be persisted until the next restart of BigID. To perform the steps above inside the developer sandbox for this exercise | This value will now be persisted until the next restart of BigID. To perform the steps above inside the developer sandbox for this exercise, execute the sandbox action below. | ||
<html> | <html> |
Revision as of 23:39, 10 March 2022
- When the scan payload API can be helpful
- How to send data to the payload API
- Where to view the results from a scan payload
BigID can connect to hundreds of different data sources. Writing your own connectors opens your system to scan anything. However, if you want to just scan a single piece of information, writing your own connector could be time intensive. The scan payload API allows you to scan single payloads of data into your system without a connector.
Enabling the Scan Payload API
Because the scan payload API allows your BigID system to scan arbitrary pieces of data, it requires an environment variable to be set. Environment variables can be set in the Advanced Tools screen located in Administration -> Advanced Tools. The scan payload API also requires the bigid-confluent service to be enabled during installation.
When you've reached this screen, press the Services Configuration button like in the screenshot below.
From this screen, search for the SCAN_API_ENABLED environment variable in the search box highlighted in the screenshot below.
Press the pencil icon to edit the value of the SCAN_API_ENABLED setting.
Set the value to true and Save.
This value will now be persisted until the next restart of BigID. To perform the steps above inside the developer sandbox for this exercise, execute the sandbox action below.
Sending Data to the Scan Payload API
Now that we've enabled the API, sending data to be scanned is easy. Just send the data and a name to store the scan results under to BigID.