Help Center/ Config/ User Guide/ Resource Compliance/ Built-In Policies/ General Policies/ Resource Type Check by Specifying Unallowed Resource Types
Updated on 2025-08-25 GMT+08:00

Resource Type Check by Specifying Unallowed Resource Types

Rule Details

Table 1 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.