Actions for AWS S3 #
-
Send Data to AWS S3. Sends customized Lucidum data to AWS S3 for storage.
Actions for AWS EC2 #
Lucidum allows you to automatically perform the following actions on assets that meet your criteria. You define the criteria for assets by creating a query.
-
Stop Instance. Stops one or more AWS instances. For details on what happens when you stop an AWS instance, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#what-happens-stop/.
-
Start Instance. Starts one or more previously stopped AWS instances. For details on what happens when you start an AWS instance, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#what-happens-start/.
-
Tag Instance. Adds a tag (descriptive key: value pair) to one or more AWS instances. For details on tagging, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html.
-
Untag Instance. Removes a tag (descriptive key: value pair) from one or more AWS instances. For details on tagging, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html.
Use Cases #
-
Send Data to AWS S3. Meet compliance requirements by saving multiple copies of your data.
-
Stop Instance. You might want to stop an EC2 instance if:
-
the instance is under-used and the running cost of the instance is high
-
the instance has a critical vulnerability and requires remediation before it can be back on the network
-
-
Start Instance. You might want to start an EC2 instance if:
-
the instance was stopped for maintenance or updates and can now rejoin the network
-
-
Tag Instance. You might want to add a tag to an instance if:
-
your corporate policy requires tagging and you found an untagged instance
-
you want to add an additional tag to an instance
-
Prerequisites #
To create actions that act upon AWS EC2 assets, you will require an Access Key ID and Access Key Secret for an AWS account that has AWS EC2 Full Access permission.
Workflows #
- Creating a new Configuration and a new Action
- Cloning an Existing Action
- Creating a new Action from the Location Results page
- Editing a Configuration
- Editing an Action
- Viewing Information about an Action
Configuration for an AWS Action #
![aws_config.png](https://lucidum.io/wp-content/uploads/aws_config.png)
-
Configuration Name. Identifier for the Configuration. This name will appear in the Lucidum Action Center.
-
AWS Access Key ID. AWS Access Key ID for a single AWS account with read and write access.
-
Access Key Secret AWS Access Key Secret for a single AWS account with read and write access.
-
AWS Session Token. Optional field. AWS session token for this session.
Create or Edit an AWS S3 Action #
To create an action for AWS:
-
In the Create a New Action page, in the General step, enter:
-
Action Type. Select an action from the pulldown options.
- Configuration Name. Select an action configuration from the pulldown options.
- Action Name. Identifier for the action. This name will appear in the Lucidum Action Center.
- Description. Description of the action.
-
-
Click the Next (>) icon.
-
In the Filters page, click Configure Filters.
-
The Build a Query page appears.
-
In the Build a Query page, you define the query for the assets or users that the action will act upon.
-
Click Next.
-
In the Build a Current Query page, enter the fields, operators, and values for the query. For existing actions, the query is already loaded in this page.
- For details on creating and editing queries in Lucidum, see the section on Building Queries.
NOTE: To optimize performance, the default time range is Current. If you need to access historical data, contact Lucidum Custom Success for help on using historical data without affecting performance.
-
Click the Apply (page and pencil) icon.
-
Click the Next (>) icon.
-
In the Schedule step, enter:
-
Schedule Type. Define the schedule for the action. Choices are:
-
Recurrence. Specify a frequency for the recurring schedule.
-
After Data Ingestion. The action is executed after data ingestion, which happens at least once every 24 hours and can also be triggered manually.
-
-
Do not trigger the action unless. Specify the number of results from Filters as a prerequisite for executing the action.
-
-
Click the Next (>) icon.
-
In the Details step, enter the following:
-
Output Fields. For each record specified in the Filters field, the Output Fields specifies the columns to include in the data to send.
-
AWS S3 Bucket Name. Name of the AWS S3 Bucket where you want to send and store the Lucidum data.
-
AWS S3 File Path under the Bucket. File path where you want to send and store the Lucidum data. For example:
-
export/lucidum_assets.csv
-
-
AWS Region where the Bucket will be created. AWS region where the AWS S3 Bucket resides.
-
Dedupe Previous Jobs. In this field, you specify whether you want duplicates of asset IDs (if your query is for assets) or user IDs (if your query is for users). You can specify integers starting at 0 (zero).
-
If you specify “0” (zero), Lucidum includes all the records from the query in each delivery to AWS S3.
-
If you specify “1” (one), Lucidum examines the previous webhook payload and excludes records for asset IDs or user IDs that were sent in the delivery to AWS S3.
-
If you specify “2” (two), Lucidum examines the last two webhook payloads and excludes records for asset IDs or user IDs that were sent in the previous two deliveries to AWS S3.
-