blobstorage output type sends alerts to individual files in an Azure Storage bucket. The sensor can optionally create the target bucket or buckets so long as it has sufficient permissions.
This output type is commonly used for easy archiving of Alerts in a durable store. It can also be used as the trigger for an ETL process in cloud environments where blob storage write events trigger a cloud function that processes the incoming Alert. At this point Alerts can be enriched, transformed, and shipped out to other systems as needed.
Azure Storage Configuration:
Azure storage requires primarily two pieces of information to work correctly. 1) The account name that should be written to by the sensor. 2) One of the following forms of authentication:
- Azure storage account key provided either via environment variables or in the sensor config
- Azure storage SAS token provided either via environment variables or in the sensor config. It is worth noting that azure provides no way to renew these tokens so that needs to be handled as part of orchestration.
- Lastly, using Azure managed identities. For managed identities, no configuration options need to be passed to the sensor as these are already provided on the host and can be auto detected.
||yes||The name of the Azure storage account.|
|An account key that has permissions to write to the blob container.|
||no||An optional SAS token which can be used.|
||no(4.8+)||Can be used to specific a specific azure storage domain instead of the public cloud.|
Capsule8 Sensor Configuration:
C8 sensor should be having the configuration set up in the file
- type: blobstorage
||yes||The output type.|
||yes||Enables/disables the output.|
||yes||The cloud provider name.|
||yes||The name of the bucket to write to.|
||no||Enables/disables bucket creation. Defaults to False.|
The is a known issue where the underlying azure library will sometimes display a HTTP 409 error message during startup when
create_bucket is enabled and the bucket already exists. This error is expected and can be ignored.