Preparation
Enabling CTS
Creating an Agency
- Log in to the IAM console, and choose Agencies in the navigation pane.
- On the Agencies page, click Create Agency.
- Set the agency information.
- For Agency Name, enter serverless_trust.
- For Agency Type, select Cloud service.
- For Cloud service, select FunctionGraph.
- For Validity Period, select Unlimited.
- Click Assign Permissions. On the Assign Permissions page, select Tenant Administrator.
Figure 2 Creating an agency
Users with the Tenant Administrator permission can perform any operations on all cloud resources of the enterprise.
- Click OK.
Pushing Alarm Messages
- Create a topic named cts_test on the SMN console. For details, see Creating a Topic.
- Add subscriptions to the cts_test topic to push alarm messages to specified email endpoints. For details, see Adding Subscriptions.
Alarm messages of a subscribed topic can be pushed through email, SMS messages, and HTTP/HTTPS.
In this example, when operation log events trigger the specified function, the function filters operations not from an IP address whitelist and pushes alarm message to the subscription endpoints.
Last Article: Introduction
Next Article: Building a Program

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.