Skip to content

Instantly share code, notes, and snippets.

@jordiup
Created April 20, 2023 01:58
Show Gist options
  • Save jordiup/3ebe7cc92461b9ddba9c37496ca06bc9 to your computer and use it in GitHub Desktop.
Save jordiup/3ebe7cc92461b9ddba9c37496ca06bc9 to your computer and use it in GitHub Desktop.
{
"targets": [
{
"id": "1a3a6e75-fc32-4f36-8d7c-9fe2f7c0a2a1",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "aws",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "cc4c4d4d-4e5f-4c3d-b5c5-5f5a5d5e5b5c",
"fieldTitle": "Account Number",
"fieldDescription": "The unique account number",
"valueLabel": "Account",
"valueDescription": "The unique account number",
"value": "123456789012"
},
{
"id": "5c5a5d5e-4d4e-5f5a-5b5c-cc4c4d4d4e5f",
"fieldTitle": "Role ARN",
"fieldDescription": "The Amazon Resource Name (ARN) of the role to assume",
"valueLabel": "Role ARN",
"valueDescription": "The Amazon Resource Name (ARN) of the role to assume",
"value": "arn:aws:iam::123456789012:role/MyRole"
}
]
},
{
"id": "f8b4e4fe-4ca4-4d3c-8d3a-5c5f5e5c3f3e",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "aws",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "a2a1b1b2-1a1b-2b2a-2a1b-a1b2b1a2a1b2",
"fieldTitle": "Account Number",
"fieldDescription": "The unique account number",
"valueLabel": "Account",
"valueDescription": "The unique account number",
"value": "987654321098"
},
{
"id": "b1a2a1b2-2b2a-1a1b-a2a1-b1b2a1b2b1a2",
"fieldTitle": "Role ARN",
"fieldDescription": "The Amazon Resource Name (ARN) of the role to assume",
"valueLabel": "Role ARN",
"valueDescription": "The Amazon Resource Name (ARN) of the role to assume",
"value": "arn:aws:iam::987654321098:role/MyRole"
}
]
},
{
"id": "d3e4f5d6-5c6b-4a3a-9c8d-9e1f2c3d4e5f",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "aws",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "f5e4d3c2-1a2b-3c4d-5e6f-7a8b9c0d1e2f",
"fieldTitle": "Account Number",
"fieldDescription": "The unique account number",
"valueLabel": "Account",
"valueDescription": "The unique account number",
"value": "456789012345"
},
{
"id": "0d1e2f3c-4b5a-6d7e-8f9a-a1b2c3d4e5f",
"fieldTitle": "Role ARN",
"fieldDescription": "The Amazon Resource Name (ARN) of the role to assume",
"valueLabel": "Role ARN",
"valueDescription": "The Amazon Resource Name (ARN) of the role to assume",
"value": "arn:aws:iam::456789012345:role/MyRole"
}
]
},
{
"id": "d3e4f5d6-5c6b-4a3a-9c8d-9e1f2c3d4e5f",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "okta",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"fieldTitle": "Group Name",
"fieldDescription": "The name of the group",
"valueLabel": "Group Name",
"valueDescription": "The name of the group",
"value": "Admins"
}
]
},
{
"id": "b2c3d4e5-f6g7-h8i9-j0k1-l2m3n4o5p6q",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "okta",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "c3d4e5f6-g7h8-i9j0-k1l2-m3n4o5p6q7r",
"fieldTitle": "Group Name",
"fieldDescription": "The name of the group",
"valueLabel": "Group Name",
"valueDescription": "The name of the group",
"value": "Developers"
}
]
},
{
"id": "d4e5f6g7-h8i9-j0k1-l2m3-n4o5p6q7r8s",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "okta",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "e5f6g7h8-i9j0-k1l2-m3n4-o5p6q7r8s9t",
"fieldTitle": "Group Name",
"fieldDescription": "The name of the group",
"valueLabel": "Group Name",
"valueDescription": "The name of the group",
"value": "Auditors"
}
]
},
{
"id": "c3d4e5f6-g7h8-i9j0-k1l2-m3n4o5p6q7r8",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "github",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "d4e5f6g7-h8i9-j0k1-l2m3-n4o5p6q7r8s",
"fieldTitle": "Repository",
"fieldDescription": "The name of the repository",
"valueLabel": "Repository",
"valueDescription": "The name of the repository",
"value": "my-project-repo"
}
]
},
{
"id": "e5f6g7h8-i9j0-k1l2-m3n4-o5p6q7r8s9",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "github",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "f6g7h8i9-j0k1-l2m3-n4o5-p6q7r8s9t0u",
"fieldTitle": "Organisation",
"fieldDescription": "The name of the organisation",
"valueLabel": "Organisation",
"valueDescription": "The name of the organisation",
"value": "my-organisation"
}
]
},
{
"id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "cloudwatch",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "b2c3d4e5-f6g7-h8i9-j0k1-l2m3n4o5p6q",
"fieldTitle": "SSO Region",
"fieldDescription": "The AWS region of the SSO instance",
"valueLabel": "SSO Region",
"valueDescription": "The AWS region of the SSO instance",
"value": "us-east-1"
},
{
"id": "c3d4e5f6-g7h8-i9j0-k1l2-m3n4o5p6q7r",
"fieldTitle": "SSO Role ARN",
"fieldDescription": "The Amazon Resource Name (ARN) of the role to assume in the SSO instance",
"valueLabel": "SSO Role ARN",
"valueDescription": "The Amazon Resource Name (ARN) of the role to assume in the SSO instance",
"value": "arn:aws:iam::123456789012:role/MyRole"
}
]
},
{
"id": "d4e5f6g7-h8i9-j0k1-l2m3-n4o5p6q7r8s",
"targetGroupId": "group-1",
"targetGroupFrom": {
"publisher": "common-fate",
"name": "cloudwatch",
"version": "v1.0.0",
"kind": "string"
},
"fields": [
{
"id": "e5f6g7h8-i9j0-k1l2-m3n4-o5p6q7r8s9t",
"fieldTitle": "SSO Region",
"fieldDescription": "The AWS region of the SSO instance",
"valueLabel": "SSO Region",
"valueDescription": "The AWS region of the SSO instance",
"value": "eu-west-1"
},
{
"id": "f6g7h8i9-j0k1-l2m3-n4o5-p6q7r8s9t0",
"fieldTitle": "SSO Role ARN",
"fieldDescription": "The Amazon Resource Name (ARN) of the role to assume in the SSO instance",
"valueLabel": "SSO Role ARN",
"valueDescription": "The Amazon Resource Name (ARN) of the role to assume in the SSO instance",
"value": "arn:aws:iam::123456789012:role/MyRole"
}
]
}
],
"next": "string"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment