models/

directory
v0.6.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: Apache-2.0

README

Hexa

Models for Translating IDQL Policy

This directory contains models for translating different types of policies that may be used by 1 or more providers or directly in the Hexa CLI tool.

The conditionLangs directory holds AST parsers for other policy languages such as gcpcel (Google Condition Expression Language). These parsers are meant to work with the IDQL Condition Parser. For an example, see: examples/cel.

The formats directory holds parsers for syntactical policies such as Google Bind, and Amazon Cedar. For examples on using these parsers, see the Hexa CLI commands.go, and look for the MapToCmd and MapFromCmd Run functions.

The rar directory contains a Resource Action Role model used by multiple providers that are directory centric. This model is currently used in the awsapigwProvider and the azure azarm package which is used by the azureProvider.

Directories

Path Synopsis
conditionLangs
formats
rar
testsupport/tools
Package tools provides utilities for tests.
Package tools provides utilities for tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL