-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't allow the user to pass in a trust ID
Since Aodh uses trust IDs stored in alarm URLs unconditionally - without checking for tenant safety - it is not safe to allow users to pass in their own trust IDs. Forbid this and allow only trusts created by Aodh to be used. It is highly unlikely that there is any (legitimate) use of this feature in the wild, since allowing Aodh to create the trust is easier anyway. Change-Id: I8fd11a7f9fe3c0ea5f9843a89686ac06713b7851 Closes-Bug: #1649333
- Loading branch information
Showing
3 changed files
with
4 additions
and
3 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
cb90d3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, Zane
By introducing this commit, the "aodh alarm update" CLI will break in case of heat template creating alarms with trust id in alarm action. I wonder if it is rational for that when using trust ID?
Cheers
Shi Yan