`sshd.config.blocks` doesn't return list types, splitting not possible
mm-weber opened this issue · comments
Manuel Weber commented
Describe the bug
For parse-ability those parameters should return lists instead of CSVs.
cnspec> sshd.config.blocks {params.Ciphers}
cnspec> sshd.config.blocks {params.KexAlgorithms}
cnspec> sshd.config.blocks {params.MACs}
Also, splitting the strings returns an error, so there's no workaround possible at the moment:
sshd.config.blocks {params.MACs.split(',')}
To Reproduce
Steps to reproduce the behavior:
Run the queries above
cnspec v10.3.0 (5ea8660, unknown)
cnquery v10.3.0 (8b8b0299, unknown)
os 10.2.0 with connectors: local, ssh, winrm, vagrant, container, docker, filesystem