Call S3 method
Action ID:tools.amazon_s3.call_method
Instantiate a S3 client and call a S3 method.
Reference: https://docs.aws.amazon.com/boto3/latest/guide/s3-example-download-file.html
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn.Default:
null.External ID required by the chained role’s trust policy, if any. Only used together with role_arn.Default:
null.AWS service region to use for this request. Overrides the AWS_REGION secret for the service client.Default:
null.ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role.Default:
null.Session name recorded in CloudTrail for the chained AssumeRole. Defaults to a Tracecat workspace/run derived name.Default:
null.Copy S3 objects
Action ID:tools.amazon_s3.copy_objects
Copy S3 objects from one bucket to another.
Reference: https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.copy_object
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn.Default:
null.External ID required by the chained role’s trust policy, if any. Only used together with role_arn.Default:
null.AWS service region to use for this request. Overrides the AWS_REGION secret for the service client.Default:
null.ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role.Default:
null.Session name recorded in CloudTrail for the chained AssumeRole. Defaults to a Tracecat workspace/run derived name.Default:
null.Delete S3 object
Action ID:tools.amazon_s3.delete_object
Delete an object from S3.
Reference: https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.delete_object
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn.Default:
null.External ID required by the chained role’s trust policy, if any. Only used together with role_arn.Default:
null.AWS service region to use for this request. Overrides the AWS_REGION secret for the service client.Default:
null.ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role.Default:
null.Session name recorded in CloudTrail for the chained AssumeRole. Defaults to a Tracecat workspace/run derived name.Default:
null.Get S3 object
Action ID:tools.amazon_s3.get_object
Download an object from S3 and return its body as a string.
Reference: https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.get_object
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn.Default:
null.External ID required by the chained role’s trust policy, if any. Only used together with role_arn.Default:
null.AWS service region to use for this request. Overrides the AWS_REGION secret for the service client.Default:
null.ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role.Default:
null.Session name recorded in CloudTrail for the chained AssumeRole. Defaults to a Tracecat workspace/run derived name.Default:
null.Get S3 objects
Action ID:tools.amazon_s3.get_objects
Download multiple S3 objects and return their bodies as strings.
Reference: https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.get_object
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn.Default:
null.External ID required by the chained role’s trust policy, if any. Only used together with role_arn.Default:
null.AWS service region to use for this request. Overrides the AWS_REGION secret for the service client.Default:
null.ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role.Default:
null.Session name recorded in CloudTrail for the chained AssumeRole. Defaults to a Tracecat workspace/run derived name.Default:
null.List S3 objects
Action ID:tools.amazon_s3.list_objects
List objects in an S3 bucket.
Reference: https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.list_objects_v2
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
NextContinuationToken from a previous response whose IsTruncated is true. Pass it to fetch the next page.Default: null.Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn.Default:
null.External ID required by the chained role’s trust policy, if any. Only used together with role_arn.Default:
null.AWS service region to use for this request. Overrides the AWS_REGION secret for the service client.Default:
null.ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role.Default:
null.Session name recorded in CloudTrail for the chained AssumeRole. Defaults to a Tracecat workspace/run derived name.Default:
null.Parse S3 URI
Action ID:tools.amazon_s3.parse_uri
Parse an S3 URI into bucket name and object key.
Reference: https://docs.aws.amazon.com/boto3/latest/guide/s3-example-download-file.html
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
Put S3 object
Action ID:tools.amazon_s3.put_object
Uploads an object to S3. The object key is validated and content decoded.
Reference: https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.put_object
Secrets
Optional secrets:amazon_s3: optional valuesAWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_REGION,AWS_ROLE_ARN,AWS_ROLE_SESSION_NAME.
Input fields
Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn.Default:
null.External ID required by the chained role’s trust policy, if any. Only used together with role_arn.Default:
null.AWS service region to use for this request. Overrides the AWS_REGION secret for the service client.Default:
null.ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role.Default:
null.