Cisco · API Governance Rules
Cisco — flowlint rules
Spectral linting rules defining API design standards and conventions for Cisco.
22 Rules
error 9
warn 9
info 2
Published by Cisco
Served by the provider at https://github.com/CiscoAandI/flowlint/blob/301e9ee861aa9f488c83e9cf0f5a55945404e2af/flowlint/rulesets/securex_ruleset.yaml; the copy below was fetched from there.
Rule Categories
all
cleanup
dont
http
jsonpath
no
non
required
secure
Rules
error
required-categories
For readability, this rule ensures that you always specify at least one category for your workflow. This makes your workflows easier to search and filter through.
$
error
required-workflow-key
Every workflow needs a key at the top level for defining the values in the workflow.
$
error
required-workflow-properties
Every workflow needs a properties key at the top level for defining the values in the workflow.
$.workflow
error
required-target
Every workflow needs a target key at the top level for defining the targets for the workflow.
$.workflow.properties
error
required-description
A description is required for every workflow so that it can be easily understood as workflows are stored in git and move around and are shared.
$.workflow.properties
hint
cleanup-workflow
Be careful when you select this "Clean up after successful execution" as it will delete the action's logs and they cannot be used to debug your workflow.
$.workflow.properties
error
no-global-variables
Global variables should not be used so that when the workflows are shared across SecureX tenants, errors are not encountered during the import.
$
hint
no-table-types
$
warn
secure-strings-have-default-values
$.workflow.variables[?(@.properties.type == "datatype.secure_string")]
warn
required-variable-description
$.workflow.variables[*]
error
no-hardcoded-targets
$
error
no-hardcoded-account-keys
$
warn
no-manual-targets-in-target-group
$.target_groups[*].targets[*]
warn
non-standard-target-types
$.target_groups.target_group_01EJ0TQWPQWBD0qiWqClJKj9FOzwiZRfOFH.targets[*]
warn
no-custom-calenders
$.calenders[*]
warn
no-subworkflows
$..actions,blocks[*]
info
no-activities-skipped
$..actions,blocks[*]
info
http-continue-on-failure
$..actions,blocks[?(@.type == "web-service.http_request")]
warn
http-continue-on-error-status-code
$..actions,blocks[?(@.type == "web-service.http_request")]
warn
jsonpath-continue-on-failure
$..actions,blocks[?(@.type == "corejava.jsonpathquery")]
warn
dont-override-account-keys
$..actions,blocks[*]
error
all-actions-exist
$
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.