Uses of Interface
org.sonar.iac.terraform.api.tree.BlockTree
-
-
Uses of BlockTree in org.sonar.iac.terraform.checks
Methods in org.sonar.iac.terraform.checks with parameters of type BlockTree Modifier and Type Method Description protected voidAbstractResourceCheck. checkResource(CheckContext ctx, BlockTree resource)protected voidAnonymousAccessPolicyCheck. checkResource(CheckContext ctx, BlockTree resource)protected voidResourceAccessPolicyCheck. checkResource(CheckContext ctx, BlockTree resource)static StringAbstractResourceCheck. getReferenceLabel(BlockTree resource)static StringAbstractResourceCheck. getResourceType(BlockTree tree)static booleanAbstractResourceCheck. hasReferenceLabel(BlockTree resource)static booleanAbstractNewResourceCheck. isDataOfType(BlockTree blockTree, String dataType)If needed - add similar method isResourceOfType(BlockTree blockTree, String dataType)static booleanAbstractNewResourceCheck. isResource(BlockTree blockTree)If needed - add similar method isData(BlockTree blockTree)static booleanAbstractResourceCheck. isResource(BlockTree tree)static booleanAbstractResourceCheck. isResource(BlockTree tree, String type)static booleanAbstractResourceCheck. isS3Bucket(BlockTree tree)static booleanAbstractResourceCheck. isS3BucketResource(BlockTree tree)protected voidAbstractNewResourceCheck. provideResource(CheckContext ctx, BlockTree blockTree)static voidAbstractResourceCheck. reportResource(CheckContext ctx, BlockTree resource, String message)static StringAbstractNewResourceCheck. resourceType(BlockTree tree)Despite its name, this method works fine for 'resource', 'data' and all other sorts of Terraform top-level blocksMethod parameters in org.sonar.iac.terraform.checks with type arguments of type BlockTree Modifier and Type Method Description protected voidAbstractResourceCheck. register(BiConsumer<CheckContext,BlockTree> resourceCheck)protected voidAbstractResourceCheck. register(BiConsumer<CheckContext,BlockTree> resourceCheck, String... resourceNames) -
Uses of BlockTree in org.sonar.iac.terraform.checks.azure
Methods in org.sonar.iac.terraform.checks.azure with parameters of type BlockTree Modifier and Type Method Description static voidAzureIpRestrictedAdminAccessCheckPart. checkNetworkSecurityGroup(CheckContext ctx, BlockTree resource) -
Uses of BlockTree in org.sonar.iac.terraform.checks.gcp
Methods in org.sonar.iac.terraform.checks.gcp with parameters of type BlockTree Modifier and Type Method Description protected voidGcpPrivilegePolicyCheckPart. provideResource(CheckContext ctx, BlockTree blockTree)protected voidHighPrivilegedRolesOnWorkloadResourcesCheck. provideResource(CheckContext ctx, BlockTree blockTree) -
Uses of BlockTree in org.sonar.iac.terraform.parser
Methods in org.sonar.iac.terraform.parser that return BlockTree Modifier and Type Method Description BlockTreeTreeFactory. block(SyntaxToken type, com.sonar.sslr.api.typed.Optional<List<LabelTree>> labels, SyntaxToken openBrace, SyntaxToken newline, com.sonar.sslr.api.typed.Optional<List<StatementTree>> statements, SyntaxToken closeBrace)BlockTreeTreeFactory. oneLineBlock(SyntaxToken type, com.sonar.sslr.api.typed.Optional<List<LabelTree>> labels, SyntaxToken openBrace, com.sonar.sslr.api.typed.Optional<AttributeTree> attribute, SyntaxToken closeBrace) -
Uses of BlockTree in org.sonar.iac.terraform.parser.grammar
Methods in org.sonar.iac.terraform.parser.grammar that return BlockTree Modifier and Type Method Description BlockTreeHclGrammar. BLOCK()BlockTreeHclGrammar. ONE_LINE_BLOCK() -
Uses of BlockTree in org.sonar.iac.terraform.symbols
Methods in org.sonar.iac.terraform.symbols with parameters of type BlockTree Modifier and Type Method Description static BlockSymbolBlockSymbol. fromPresent(CheckContext ctx, BlockTree tree, BlockSymbol parent)static ResourceSymbolResourceSymbol. fromPresent(CheckContext ctx, BlockTree tree)Constructors in org.sonar.iac.terraform.symbols with parameters of type BlockTree Constructor Description BlockSymbol(CheckContext ctx, BlockTree tree, String name, BlockSymbol parent) -
Uses of BlockTree in org.sonar.iac.terraform.tree.impl
Classes in org.sonar.iac.terraform.tree.impl that implement BlockTree Modifier and Type Class Description classBlockTreeImpl
-