Resource Type Check by Specifying Unallowed Resource Types
Rule Details
Parameter |
Description |
---|---|
Rule Name |
resources-in-not-allowed-types |
Identifier |
Resource Type Check by Specifying Unallowed Resource Types |
Description |
If a resource type matches one of the specified resource types, this resource type 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 specify the prohibited resource types.
Solution
Ensure that only the allowed resource types are created and delete prohibited resources.
Rule Logic
- If a resource is not any unallowed type, this resource is compliant.
- If a resource is any unallowed 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