Lint Codes
Overview
Below are the lint codes that are used by the lint Pegleg CLI command.
Codes
P001 - Document has storagePolicy cleartext (expected is encrypted) yet its schema is a mandatory encrypted type.
Where mandatory encrypted schema type is one of:
deckhand/CertificateAuthorityKey/v1deckhand/CertificateKey/v1deckhand/Passphrase/v1deckhand/PrivateKey/v1
See the Deckhand Utility Document Kinds documentation for more information.
P003 - All repos contain expected directories.
P004 - Duplicate Deckhand DataSchema document detected.
P005 - Deckhand rendering exception.
P006 - YAML file missing document header (
---).P007 - YAML file is not valid YAML.
P008 - Document
metadata.layeringDefinition.layerdoes not match its location in the site manifests tree (e.g. document withsitelayer should be found in folder namedsite).P009 - Document found in
secretsfolder in site manifests repository but doesn’t havestoragePolicy: encryptedset.P010 - Site folder in manifests repository is missing
site-definition.yamlP011 -
site-definition.yamlfailed Pegleg schema validation.