You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c501d59
Browse filesBrowse the repository at this point in the historyBrowse files
[AWS CloudTrail](https://aws.amazon.com/cloudtrail/) records who did what in your AWS accounts. Every API call — from the console, the CLI, an SDK, or another AWS service — is captured as an event with the calling identity, source IP, parameters, and result. It is the system of record for security investigation, compliance evidence, and answering "what changed?"
15
+
16
+
With AWS CloudTrail, you can:
17
+
18
+
-**Look up recent activity**: Search the last 90 days of management events by user, event name, resource, or event source
19
+
-**Inspect trail configuration**: Describe trails, check logging status, and read the event and Insights selectors that decide what gets captured
20
+
-**Query history with SQL**: Run CloudTrail Lake queries across event data stores for analysis that reaches further back than event lookup
21
+
-**Confirm coverage**: Verify that logging is actually enabled and that multi-region and organization trails are delivering
22
+
23
+
In Sim, CloudTrail is the audit half of the AWS story. Where IAM and Identity Center answer *who has access*, CloudTrail answers *what they actually did with it* — so an agent can take a suspicious permission change and trace it back to the principal, the source IP, and the moment it happened, then hand a written timeline to whoever needs to act on it.
24
+
25
+
This block is read-only with one narrow exception: `Cancel Query` stops a running CloudTrail Lake query. It never enables or disables logging, alters trail configuration, or deletes a trail, so it can be granted a `cloudtrail:Describe*/Get*/List*/LookupEvents/StartQuery` policy with no residual write risk. Note that `Start Query` is billed per GB scanned and consumes your account's concurrent-query quota.
26
+
27
+
`Lookup Events` is limited by AWS to two requests per second per account per Region. The block paces itself against that limit automatically, so broad searches take longer rather than failing.
28
+
{/* MANUAL-CONTENT-END */}
29
+
30
+
13
31
## Usage Instructions
14
32
15
33
Integrate AWS CloudTrail into workflows. Look up the last 90 days of management and Insights events by user, event name, resource, or access key; inspect trail configuration, logging status, and event selectors; and run SQL queries against CloudTrail Lake event data stores. This block never changes trail or event data store configuration, and never starts or stops logging. Starting and cancelling a Lake query are the only actions that are not reads, and AWS bills Lake queries on the data they scan. Requires AWS access key and secret access key.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/iam.mdx
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,14 @@ With AWS IAM, you can:
19
19
-**Create roles**: Define IAM roles with specific permissions that can be assumed by users, services, or applications for temporary access
20
20
-**Attach policies**: Assign managed policies to users and roles to define what actions they can perform on which resources
21
21
-**Organize with groups**: Create IAM groups to manage permissions for collections of users, simplifying access management at scale
22
-
-**Control access keys**: Generate and manage programmatic access key pairs for API and CLI access to AWS services
22
+
-**Control access keys**: Generate, list, deactivate, and delete programmatic access key pairs for API and CLI access to AWS services
23
+
-**Simulate policies**: Test whether a principal is allowed to perform specific actions against specific resources, before granting or revoking anything
23
24
24
25
In Sim, the AWS IAM integration allows your workflows to automate identity management tasks such as provisioning new users, assigning roles and permissions, managing group memberships, and rotating access keys. This is particularly useful for onboarding automation, security compliance workflows, access reviews, and incident response — enabling your agents to manage AWS access control programmatically.
26
+
27
+
Policy simulation deserves a note, because AWS's model is easy to misread. `Simulate Principal Policy` returns one result per action regardless of how many resource ARNs you pass. The top-level decision is the **aggregate** across every resource — most restrictive wins — and the top-level resource name is an ARN *template* for the resource type, not one of your ARNs. Per-resource answers live in `resourceSpecificResults`, and when you supply concrete ARNs, missing context keys are reported there too rather than at the top level. Read `resourceSpecificResults` whenever you simulate against more than one resource: the aggregate alone will tell you a principal is denied when it is in fact allowed on some of them.
28
+
29
+
The secret half of a new access key is returned once and is hidden from block output display and execution logs. It stays resolvable downstream, so rotation workflows can pass it straight to the system that needs it — but a block you pass it into will log it under that block's own inputs.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/identity_center.mdx
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,14 @@ With AWS IAM Identity Center, you can:
21
21
-**List permission sets**: Enumerate the available permission sets (e.g., ReadOnly, PowerUser, AdministratorAccess) defined in your Identity Center instance
22
22
-**Monitor assignment status**: Poll the provisioning status of create/delete operations, which are asynchronous in AWS
23
23
-**List accounts in your organization**: Enumerate all AWS accounts in your AWS Organizations structure to populate access request dropdowns
24
-
-**Manage groups**: List groups and resolve group IDs by display name for group-based access grants
24
+
-**Manage groups**: List groups, resolve group IDs by display name, and enumerate group memberships for group-based access grants
25
+
-**Audit an account's access**: List every assignment on a given AWS account, then resolve each principal ID back to the user or group behind it
25
26
26
27
In Sim, the AWS Identity Center integration is designed to power **TEAM (Temporary Elevated Access Management)** workflows — automated pipelines where users request elevated access, approvers approve or deny it, access is provisioned with a time limit, and auto-revocation removes it when the window expires. This replaces manual console-based access management with auditable, agent-driven workflows that integrate with Slack, email, ticketing systems, and CloudTrail for full traceability.
28
+
29
+
The same operations support the reverse direction — access review. Starting from an account, an agent can list its assignments, resolve the principals, expand groups into their members, and produce a written report of exactly who can reach that account and through which permission set.
30
+
31
+
Two AWS behaviors are worth knowing. Creating and deleting an account assignment are **asynchronous**: both return a request ID, and each has its own status poller — use *Check Assignment Status* for creations and *Check Assignment Deletion Status* for deletions, as the two request-ID types are not interchangeable. And the account-listing operations call AWS Organizations, which is global per partition; the block resolves the correct endpoint for commercial, GovCloud, and China regions automatically.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/sqs.mdx
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,14 @@ With Amazon SQS, you can:
21
21
-**Ensure reliability**: Built-in redundancy and high availability
22
22
-**Support FIFO queues**: Maintain strict message ordering and exactly-once processing
23
23
24
-
In Sim, the SQS integration enables your agents to send messages to Amazon SQS queues securely and programmatically. Supported operations include:
24
+
In Sim, the SQS integration gives your agents both sides of the queue — producing work and consuming it. Supported operations cover:
25
25
26
-
-**Send Message**: Send messages to SQS queues with optional message group ID and deduplication ID for FIFO queues
26
+
-**Messages**: Send one message or a batch of up to 10, receive with long polling, delete individually or in batches, and extend visibility timeouts while work is still in flight
27
+
-**Queues**: Create, delete, and purge queues, look up a queue URL by name, and read or update queue attributes
28
+
-**Dead-letter handling**: List the source queues feeding a dead-letter queue, then start, monitor, and cancel message move tasks to redrive failed messages back
29
+
-**Tags**: List, add, and remove queue tags for cost allocation and ownership tracking
27
30
28
-
This integration allows your agents to automate message sending workflows without manual intervention. By connecting Sim with Amazon SQS, you can build agents that publish messages to queues within your workflows—all without handling queue infrastructure or connections.
31
+
Because an agent can now drain a queue rather than only fill it, SQS becomes a way to hand work to Sim as well as from it. A workflow can long-poll a queue for jobs, process each message, delete it on success, and let the visibility timeout return anything it fails to finish — the standard reliable-consumer pattern, without running a worker of your own.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/ssm.mdx
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,24 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
10
10
color="#E7157B"
11
11
/>
12
12
13
+
{/* MANUAL-CONTENT-START:intro */}
14
+
[AWS Systems Manager](https://aws.amazon.com/systems-manager/) is the operations hub for AWS. It gives you a single place to run commands across fleets of managed nodes, store configuration and secrets, track patch and compliance state, and execute runbooks — without opening SSH, managing bastion hosts, or distributing long-lived credentials.
15
+
16
+
With AWS Systems Manager, you can:
17
+
18
+
-**Run commands remotely**: Execute shell or PowerShell across a fleet by instance ID or tag-based targets, with concurrency and error thresholds you control
19
+
-**Store configuration and secrets**: Keep parameters in Parameter Store as plain strings, string lists, or KMS-encrypted SecureStrings
20
+
-**Inspect your fleet**: List managed nodes with their platform, agent version, and last ping time
-**Audit compliance**: Query compliance items and summaries across your managed nodes
23
+
-**Automate runbooks**: Start, monitor, and stop Automation executions built on SSM documents
24
+
25
+
In Sim, the Systems Manager integration is what lets an agent act on infrastructure rather than only report on it. Paired with CloudWatch or CloudTrail for detection, a workflow can investigate an alert, run a diagnostic command against the affected nodes, read the configuration behind the failure from Parameter Store, and kick off an Automation runbook to remediate — end to end, with every step logged in your run history.
26
+
27
+
Parameter Store decryption is opt-in: `Get Parameter` and `Get Parameters` leave `WithDecryption` off unless you explicitly enable it, so a SecureString stays encrypted by default. Written and decrypted values are masked in the block and are kept out of logs, traces, and error envelopes.
28
+
{/* MANUAL-CONTENT-END */}
29
+
30
+
13
31
## Usage Instructions
14
32
15
33
Integrate AWS Systems Manager into your workflow. Run commands on managed nodes, read and write Parameter Store values, inspect node inventory and patch compliance, and drive Automation runbooks.
0 commit comments