The Armor data lake is a centralized repository for storing Armor collected data. With regards to CSPM, the data lake contains all the data for every report created for an environment and all the historical data from when the reports are run. This can be a lot of data so narrowing down the scope of information is critical to making sense of it all.
Accessing the Datalake
Users can access the datalake in two ways:
Select a Report from the Report List and click on it's name to access the details page.
Then expand down to the control level of a section to view links for Remediation and Advanced Query.
Click on Advanced Query.
This opens ChaosSearch in a new window.
Click on the Single Sign On button.
Click Next again on the next page to sign in to ChaosSearch.
Once the page loads the following will show:
Note that there are two filters already being applied based on which control was open when Advanced Query was selected. The ruleId and ReportId.
To see the complete report, click on the X next to the rule.Id and now the filter is only using the ReportId to get data.
Keeping the rule.Id can also be useful for comparing changes over time (using a wider date range) for that rule.
Changing the date range allows for viewing a single or multiple runs of the report depending on the goal.
Select a Report from the Report List and click the report name to access the details.
Copy its unique report Id by navigating into the report's detail page.
Navigate to Security -> Log Search and SSO into Chaos Search.
Create a filter by doing the following:
Click on Add filter.
In Field select event.ReportId
Select is for Operator.
Paste the report Id from the report details page into the Value field.
Click Save.
Now set the date range to encompass the report date or dates to show and click Refresh.
Data Presentation
Data consists of documents stored in the datalake. Each document contains all the data related to that particular rule and resource. Below are examples of the table and JSON views:
Report Id - the unique Guid of the report generated
Report Title - the title used when creating the report
Helpful Fields for Searching the Datalake
Field
Filter By
Field
Filter By
cloud.provider
the cloud provider type (AWS, Google or Azure)
cloud.account.id
a specific cloud account Id as reports may contain more than one account
cloud.instance.id
the instance id
event.ReportId
a specific report id as multiple reports may exist
event.outcome
whether the resource Passed/Failed
rule.Policy
a specific policy
Adding a Filter
To add additional filters, click on the Add Filter Button.
Then set the field to one of the helpful fields above, select the operator, put in the value and hit save. The data is now filtered on a specific reportId, Policy or other field selected.
Viewing Datalake Aggregations
Please refer to Reports for custom aggregations, visualizations and custom reports.