package
2.1.2
Repository: https://github.com/checkmarx/kics.git
Documentation: pkg.go.dev

# Functions

GetPathToCustomLibrary - returns the libraries path for a given platform.
ListSupportedCloudProviders returns a list of supported cloud providers.
ListSupportedPlatforms returns a list of supported platforms.
MergeInputData merges KICS input data with custom input data user defined.
NewFilesystemSource initializes a NewFilesystemSource with source to queries and types of queries to load.
ReadMetadata read query's metadata file inside the query directory.
ReadQuery reads query's files for a given path and returns a QueryMetadata struct with it's content.

# Constants

LibrariesDefaultBasePath the path to rego libraries.
MetadataFileName The default metadata file name.
QueryFileName The default query file name.

# Structs

ExcludeQueries is a struct that represents the option to exclude queries by ids or by categories.
FilesystemSource this type defines a struct with a path to a filesystem source of queries Source is the path to the queries Types are the types given by the flag --type for query selection mechanism.
IncludeQueries is a struct that represents the option to include queries by ID taking precedence over exclusion.
QueryInspectorParameters is a struct that represents the optionn to select queries to be executed.
RegoLibraries is a struct that contains the library code and its input data.

# Interfaces

QueriesSource wraps an interface that contains basic methods: GetQueries and GetQueryLibrary GetQueries gets all queries from a QueryMetadata list GetQueryLibrary gets a library of rego functions given a plataform's name.