You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add CommentBase to YAML.qll for compatibility with codeql/yaml@1.0.52 (CodeQL 2.26.0) #267
CodeQL 2.26.0 bumped codeql/yaml to 1.0.52, which added CommentBase as a required member of the InputSig signature module (github/codeql@e87f7fb — "Shared: Support YAML comments").
This means iac/ql/lib/codeql/iac/YAML.qll will fail to compile against codeql/yaml >= 1.0.52 because YamlSig does not implement CommentBase.
Proposed Fix
Add the following to the YamlSig module in ql/lib/codeql/iac/YAML.qll:
The extractor itself would also need to be updated to extract YAML comments into the yaml_comments table. Until then, the dbscheme tables will simply be empty, but the library will compile.
Context
CodeQL 2.26.0 release: bumps codeql/yaml to 1.0.52
Activity
Add CommentBase to iac YAML.qll for codeql/yaml@1.0.52 compatibility