Skip to main content

Crate taudit_parse_ado

Crate taudit_parse_ado 

Source

Structs§

AdoJob
AdoParameter
Pipeline / template parameters: entry. We deliberately ignore default: — only the name, type, and values: allowlist matter for our rules.
AdoParser
Azure DevOps YAML pipeline parser.
AdoParserContext
Optional Azure DevOps enrichment inputs plumbed from CLI flags.
AdoPipeline
Top-level ADO pipeline definition. ADO pipelines come in three shapes: (a) stages → jobs → steps (b) jobs → steps (no stages key) (c) steps only (no stages or jobs key)
AdoRepository
A single resources.repositories[] entry — declares an external repo alias the pipeline can consume via template: x@alias, extends:, or checkout: alias.
AdoResources
resources: block. Only repositories[] is modelled today.
AdoStage
AdoStep
AdoStrategy
Deployment-job strategy: block. ADO ships three strategies — runOnce, rolling, canary — each with multiple lifecycle phases that may carry their own step list. We capture all of them; the AdoJob::all_steps helper flattens them into one sequence.
AdoStrategyOn
AdoStrategyPhase
AdoStrategyRunOnce
Lifecycle phases carried by every deployment strategy. Each phase may have its own steps:. Covering all six avoids silently dropping privileged setup/teardown steps from the authority graph.
AdoVariables
ADO variables: block. Can be a sequence (list of group/name-value entries) or a mapping (variableName: value). We normalise both into a Vec.

Enums§

AdoVariable
DependsOn
ADO dependsOn: accepts two YAML shapes — a single string (dependsOn: my_job) or a sequence of strings (dependsOn: [a, b, c]). The untagged enum normalises both at deserialization time so callers can iterate uniformly.