Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Add new Group Role Map rebuild triggering mechanism #158

Merged

Conversation

gene1wood
Copy link
Contributor

  • Change ID token for role to use API Gateway proxy mode and pass all requests onto the Lambda function
    • Change how ID token for role decides what action to take. Previously it used the HTTP method. Now it uses the URL path
  • Add new Group Role Map rebuild triggering mechanism
    • Add new AllowedMapBuilderSubPrefix setting to limit who can trigger map rebuilds
    • Limit concurrent executions of the group role map builder to prevent multiple simultaneous builds
    • Export the group role map builder lambda function name and ARN to CloudFormation for consumption by the ID token for role API
  • Add new functionality to ID token for role allowing an authenticated user with a sub beginning with the ALLOWED_MAP_BUILDER_SUB_PREFIX to trigger a group role map rebuild
    • Grant the ID token for role API rights to invoke the group role map builder

* Change ID token for role to use API Gateway proxy mode and pass all requests onto the Lambda function
  * Change how ID token for role decides what action to take. Previously it used the HTTP method. Now it uses the URL path
* Add new Group Role Map rebuild triggering mechanism
  * Add new AllowedMapBuilderSubPrefix setting to limit who can trigger map rebuilds
  * Limit concurrent executions of the group role map builder to prevent multiple simultaneous builds
  * Export the group role map builder lambda function name and ARN to CloudFormation for consumption by the ID token for role API
* Add new functionality to ID token for role allowing an authenticated user with a sub beginning with the ALLOWED_MAP_BUILDER_SUB_PREFIX to trigger a group role map rebuild
  * Grant the ID token for role API rights to invoke the group role map builder
@gene1wood gene1wood merged commit 8a36ce1 into mozilla-iam:master Dec 6, 2019
@gene1wood gene1wood deleted the add_group_role_map_rebuild_trigger branch December 6, 2019 20:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant