Using build.security's log shipping feature, you can automatically send decision log backups from the control plane to one or more databases within your organization. The first step in enabling this process is to define the integration between build.security and the internal database where you wish to collect the build.security log results.
Once you have created the integration, you can then assign whether or not log shipping should be enabled on a project-by-project basis.
To create a log shipping integration:
On the System Settings option, select Log Shipping.
Click NEW INTEGRATION. The New Log Shipping panel opens.
In the Name field, enter the name of the new integration.
In the Description field, enter a description (optional).
In the Type field, select whether you wish to integrate with Datadog or Elasticsearch.
If you selected Datadog, in the API Key field, enter the API key that will enable communication between build.security and the Datadog implementation in your organization; if you selected Elasticsearch enter the host address.
Click Save to create the integration.
Before you can delete a log shipping integration from the build.security control plane, you must first remove any connections you have created between that integration and any projects you have configured to use it (see Disabling Log Shipping for more information). If you do not first remove this connection, the following error message will appear:
To delete a log shipping integration:
On the System Settings screen, select Log Shipping.
Locate the integration you wish to delete and press the kebab (three vertical dots) on the right side.
Select Delete and then Confirm.
The integration is removed. Note that if you wish to enable this integration again, you will have to recreate it, including entering the API key again.