KustomizeScanner#
- class neophile.scanner.kustomize.KustomizeScanner#
Bases:
BaseScanner
Scan a source tree for Kustomize version references.
This recognizes external resources in the formats:
github.com/<owner>/<repo>(.git)?//<path>?ref=<version> https://github.com/<owner>/<repo>/<path>?ref=<version>
Attributes Summary
The regexes to match external resources and extract data from them.
Name of the scanner type.
Methods Summary
scan
(root)Scan a source tree for version references.
Attributes Documentation
- RESOURCE_REGEXES = [re.compile('github\\.com/([^/]+)/([^/.]+).*?ref=(.*)'), re.compile('https://github\\.com/([^/]+)/([^/.]+).*?ref=(.*)')]#
The regexes to match external resources and extract data from them.
The first match group will be the repository owner, the second match group will be the repository name, and the third match group will be the tag.
- name#
Methods Documentation