Class RoleScopeHelper
- java.lang.Object
-
- org.sonar.iac.terraform.checks.azure.helper.RoleScopeHelper
-
- All Implemented Interfaces:
PredicateUtils
public class RoleScopeHelper extends Object implements PredicateUtils
-
-
Field Summary
Fields Modifier and Type Field Description static StringPLAIN_MANAGEMENT_GROUP_SCOPE_PATTERNstatic StringPLAIN_SUBSCRIPTION_SCOPE_PATTERNstatic StringREFERENCE_MANAGEMENT_GROUP_SCOPE_PATTERNstatic StringREFERENCE_SUBSCRIPTION_SCOPE_PATTERN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSensitiveScope(ExpressionTree scope, Predicate<String> referenceScopePredicate, Predicate<String> plainScopePredicate)
-
-
-
Field Detail
-
REFERENCE_SUBSCRIPTION_SCOPE_PATTERN
public static final String REFERENCE_SUBSCRIPTION_SCOPE_PATTERN
- See Also:
- Constant Field Values
-
PLAIN_SUBSCRIPTION_SCOPE_PATTERN
public static final String PLAIN_SUBSCRIPTION_SCOPE_PATTERN
- See Also:
- Constant Field Values
-
REFERENCE_MANAGEMENT_GROUP_SCOPE_PATTERN
public static final String REFERENCE_MANAGEMENT_GROUP_SCOPE_PATTERN
- See Also:
- Constant Field Values
-
PLAIN_MANAGEMENT_GROUP_SCOPE_PATTERN
public static final String PLAIN_MANAGEMENT_GROUP_SCOPE_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSensitiveScope
public static boolean isSensitiveScope(ExpressionTree scope, Predicate<String> referenceScopePredicate, Predicate<String> plainScopePredicate)
-
-