-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: a beginner's guide to openid connect (#7)
* empty commit 21090 * order tags in the order of importance * nearly finish up * fix the highlighting lines * use a tagged version * ignore cloudtrail log * add gh cli tip * remove unnecessary JS from head * upgrade aws * move checkov to CI * remove google adsense and move checkov to CI, again! * fix(ci): pass checkov config file * finish up with the references * fix: modify the footnote orderings * another round of read and modifications * modify color line number * reorder paypal and github sponsors * modify SEO description
- Loading branch information
Showing
15 changed files
with
394 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"awsRegion": "eu-central-1", | ||
"eventCategory": "Management", | ||
"eventID": "59d1c8df-5c1b-460b-bba3-9f13e94fa9ac", | ||
"eventName": "GetParameters", | ||
"eventSource": "ssm.amazonaws.com", | ||
"eventTime": "2024-04-11T13:30:29Z", | ||
"eventType": "AwsApiCall", | ||
"eventVersion": "1.08", | ||
"managementEvent": true, | ||
"readOnly": true, | ||
"recipientAccountId": "XXXXXXXXXXXX", | ||
"requestID": "1fd24d3a-cbc7-463d-bf4c-fc48ebe7765f", | ||
"requestParameters": { | ||
"names": [ | ||
"/some/parameter/in/aws/ssm" | ||
], | ||
"withDecryption": true | ||
}, | ||
"resources": [ | ||
{ | ||
"ARN": "arn:aws:ssm:eu-central-1:XXXXXXXXXXXX:parameter/some/parameter/in/aws/ssm", | ||
"accountId": "XXXXXXXXXXXX" | ||
} | ||
], | ||
"responseElements": null, | ||
"sourceIPAddress": "172.183.82.224", | ||
"tlsDetails": { | ||
"cipherSuite": "ECDHE-RSA-AES128-GCM-SHA256", | ||
"clientProvidedHostHeader": "ssm.eu-central-1.amazonaws.com", | ||
"tlsVersion": "TLSv1.2" | ||
}, | ||
"userAgent": "aws-cli/2.15.36 Python/3.11.8 Linux/6.5.0-1017-azure exe/x86_64.ubuntu.22 prompt/off command/ssm.get-parameters", | ||
"userIdentity": { | ||
"accessKeyId": "ASIA6AMOBUU5LTCAGBVC", | ||
"accountId": "XXXXXXXXXXXX", | ||
"arn": "arn:aws:sts::XXXXXXXXXXXX:assumed-role/github-actions-oidc-role/GitHubActions", | ||
"principalId": "AROA6AMOBUU5GFII4ZDZU:GitHubActions", | ||
"sessionContext": { | ||
"attributes": { | ||
"creationDate": "2024-04-11T13:30:26Z", | ||
"mfaAuthenticated": "false" | ||
}, | ||
"sessionIssuer": { | ||
"accountId": "XXXXXXXXXXXX", | ||
"arn": "arn:aws:iam::XXXXXXXXXXXX:role/github-actions-oidc-role", | ||
"principalId": "AROA6AMOBUU5GFII4ZDZU", | ||
"type": "Role", | ||
"userName": "github-actions-oidc-role" | ||
}, | ||
"webIdFederationData": { | ||
"attributes": {}, | ||
"federatedProvider": "arn:aws:iam::XXXXXXXXXXXX:oidc-provider/token.actions.githubusercontent.com" | ||
} | ||
}, | ||
"type": "AssumedRole" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"claims_supported": [ | ||
"sub", | ||
"aud", | ||
"exp", | ||
"iat", | ||
"iss", | ||
"jti", | ||
"nbf", | ||
"ref", | ||
"sha", | ||
"repository", | ||
"repository_id", | ||
"repository_owner", | ||
"repository_owner_id", | ||
"enterprise", | ||
"enterprise_id", | ||
"run_id", | ||
"run_number", | ||
"run_attempt", | ||
"actor", | ||
"actor_id", | ||
"workflow", | ||
"workflow_ref", | ||
"workflow_sha", | ||
"head_ref", | ||
"base_ref", | ||
"event_name", | ||
"ref_type", | ||
"ref_protected", | ||
"environment", | ||
"environment_node_id", | ||
"job_workflow_ref", | ||
"job_workflow_sha", | ||
"repository_visibility", | ||
"runner_environment", | ||
"issuer_scope" | ||
], | ||
"id_token_signing_alg_values_supported": [ | ||
"RS256" | ||
], | ||
"issuer": "https://token.actions.githubusercontent.com", | ||
"jwks_uri": "https://token.actions.githubusercontent.com/.well-known/jwks", | ||
"response_types_supported": [ | ||
"id_token" | ||
], | ||
"scopes_supported": [ | ||
"openid" | ||
], | ||
"subject_types_supported": [ | ||
"public", | ||
"pairwise" | ||
] | ||
} |
24 changes: 12 additions & 12 deletions
24
docs/codes/0007/github-oidc-jwks.json → .../codes/0007/github-actions-oidc-jwks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
provider "github" { | ||
owner = var.github_owner | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.