Package org.sonar.python.checks.cdk
Class ResourceAccessPolicyCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.cdk.AbstractCdkResourceCheck
-
- org.sonar.python.checks.cdk.AbstractIamPolicyStatementCheck
-
- org.sonar.python.checks.cdk.ResourceAccessPolicyCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class ResourceAccessPolicyCheck extends AbstractIamPolicyStatementCheck
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.PythonCheck
PythonCheck.CheckScope, PythonCheck.PreciseIssue
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.SubscriptionCheck
SubscriptionCheck.Context
-
-
Constructor Summary
Constructors Constructor Description ResourceAccessPolicyCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckAllowingPolicyStatement(PolicyStatement policyStatement)voidinitialize(SubscriptionCheck.Context context)Predicate<Expression>inSensitiveSet()-
Methods inherited from class org.sonar.python.checks.cdk.AbstractIamPolicyStatementCheck
checkPolicyStatement, checkPolicyStatementFromJson, getDictionaryFromJson, getPolicyStatements, getSensitiveExpression, hasAllowEffect, registerFqnConsumer
-
Methods inherited from class org.sonar.python.checks.cdk.AbstractCdkResourceCheck
checkFqn, checkFqns, visitNode
-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.python.api.PythonCheck
scanWithoutParsing, scope
-
-
-
-
Method Detail
-
initialize
public void initialize(SubscriptionCheck.Context context)
- Specified by:
initializein interfaceSubscriptionCheck- Overrides:
initializein classAbstractCdkResourceCheck
-
checkAllowingPolicyStatement
protected void checkAllowingPolicyStatement(PolicyStatement policyStatement)
- Specified by:
checkAllowingPolicyStatementin classAbstractIamPolicyStatementCheck
-
inSensitiveSet
public Predicate<Expression> inSensitiveSet()
-
-