Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent alarm created without scaling policy #1448

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Prevent alarm created without scaling policy #1448

merged 2 commits into from
Feb 13, 2024

Conversation

knguyen100000010
Copy link
Contributor

@knguyen100000010 knguyen100000010 commented Feb 12, 2024

Prevent alarm creation if selected scaling policy is not existent.

image

@github-actions github-actions bot added the deploy-board Includes changes to deploy-board label Feb 12, 2024
@@ -735,6 +736,13 @@
alarm_info["metricSource"] = params["awsMetrics"]
alarm_info["groupName"] = group_name

if len(alarm_info["scalingPolicies"]) == 0:

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
@knguyen100000010 knguyen100000010 marked this pull request as ready for review February 13, 2024 14:50
@knguyen100000010 knguyen100000010 requested a review from a team as a code owner February 13, 2024 14:50
@knguyen100000010 knguyen100000010 changed the title Alarm Prevent alarm created without scaling policy Feb 13, 2024
@knguyen100000010 knguyen100000010 merged commit 89498d4 into master Feb 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-board Includes changes to deploy-board
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants