otupy.profiles.ctxd.validation

CTXD validation rules

This module defines specific CTXD constraints on the usable Action`s and `Args defined by the Language Specification.

Module attributes

AllowedActions

List of allowed `Action`s

AllowedTargets

List of allowed `Target`s

AllowedStatusCode

List of allowed status code in Response

AllowedCommandTarget

List of allowed Target for each Action

AllowedCommandArguments

List of allowed Args for each Action

Functions

fillin_allowed_command_arguments

Fill in the table for actions with multiple targets

validate_args

Validate a Command

validate_command

Validate a Command