Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws-transform/POWER.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ displayName: "AWS Transform"
description: "Migrate, modernize, and upgrade codebases: .NET Framework to .NET 8/10, mainframe COBOL to Java, VMware VMs to EC2, SQL Server/Oracle/MySQL to Aurora, and Java/Python/Node.js version upgrades or AWS SDK migrations. Assess, plan, and execute code transformations from your IDE."
keywords: ["migrate", "modernize", "mainframe", "cobol", "vmware", "dotnet", ".net framework", "windows", "sql server", "oracle", "mysql", "aurora", "ec2 migration", "rehost", "lift-and-shift", "replatform", "legacy", "code upgrade", "sdk migration", "boto3", "java upgrade", "atx", "continuous modernization", "AWS Transform - continuous modernization"]
author: "AWS"
version: "2.1.0"
version: "2.1.1"
---

# AWS Transform Power
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "STSIdentity",
"Effect": "Allow",
"Action": "sts:GetCallerIdentity",
"Resource": "*"
},
{
"Sid": "SecurityAgentApi",
"Effect": "Allow",
"Action": [
"securityagent:ListAgentSpaces",
"securityagent:CreateCodeReview",
"securityagent:StartCodeReviewJob",
"securityagent:ListCodeReviewJobsForCodeReview",
"securityagent:ListFindings",
"securityagent:BatchGetFindings",
"securityagent:StartCodeRemediation"
],
"Resource": "arn:aws:securityagent:*:*:agent-space*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "S3SecurityAgentBucketRead",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::kct-security-agent-*",
"arn:aws:s3:::kct-security-agent-*/*"
],
"Condition": {
"StringEquals": {
"s3:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "S3SecurityAgentUpload",
"Effect": "Allow",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::kct-security-agent-*/security-scans/*",
"Condition": {
"StringEquals": {
"s3:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "IAMPassSecurityAgentRole",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::*:role/security-agent-*",
"Condition": {
"StringEquals": {
"iam:PassedToService": "securityagent.amazonaws.com",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ The agent MUST print the following to the customer:
>
> The agent MUST include the following sentence verbatim in every Step 5d handoff, immediately after the admin-identity sentence above and before the command block. Do NOT abbreviate, drop, or paraphrase it -- customers onboarding a new executor identity rely on this pointer:
>
> For reference, the executor policy this skill expects is in `references/AWSTransformInfrastructureExecutorAccessEC2.json`.
> For reference, the executor policy this skill expects is in https://github.com/kirodotdev/powers/blob/main/aws-transform/steering/AWSTransformInfrastructureExecutorAccessEC2.json
>
> Those permissions are admin-scope; the executor permissions I'm running under intentionally do not grant them, so day-to-day analysis runs cannot escalate privileges.
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ The admin provisions the security agent infrastructure: an IAM role, a managed p
Tell the customer:

> "This deploys the security agent infrastructure (IAM role, S3 bucket, CloudFormation stack). It requires admin/role-creation permissions. Run it with an admin identity. Read-only or runtime credentials are enough for everything afterward."
>
> For reference, the executor policy this skill expects is in https://github.com/kirodotdev/powers/blob/main/aws-transform/steering/AWSTransformSecurityAgentExecutorAccess.json

```bash
# Ensure atx ct is installed and up to date
Expand Down
Loading