Resource Type Check by Specifying Allowed Resource Types
Rule Details
Parameter |
Description |
---|---|
Rule Name |
resources-in-allowed-types |
Identifier |
Resource Type Check by Specifying Allowed Resource Types |
Description |
If a resource type does not match any of the specified resource types, this resource is non-compliant. |
Tag |
type |
Trigger Type |
Configuration change |
Filter Type |
All resources |
Rule Parameters |
providerAndTypes: resource types. The value format is ['provider.type']. |
Application Scenarios
To prevent service violations, you need to restrict the resource types allowed.
Solution
Ensure that only the allowed resource types are created and delete prohibited resources.
Rule Logic
- If a resource is an allowed type, this resource is compliant.
- If a resource is not any allowed type, this resource is non-compliant.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot