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
Spectral is limited to run based on assets and executions, so there are parameters for its execution that allows a developer to run unlimited IAC scans. Also, some users may only be interested in seeing returns for secrets, IAC and now OpenSource seperately.
But the IDE appears to always execute IAC and secrets.
Request is to allow for the following as selectable scan types:
--engines iac
--engines secrets
--engines oss
And the whole shebang:
--engines secrets,iac,oss
At present, the invocation is hardcoded in:
spectral-agent-service.ts
Spectral is limited to run based on assets and executions, so there are parameters for its execution that allows a developer to run unlimited IAC scans. Also, some users may only be interested in seeing returns for secrets, IAC and now OpenSource seperately.
But the IDE appears to always execute IAC and secrets.
Request is to allow for the following as selectable scan types:
--engines iac
--engines secrets
--engines oss
And the whole shebang:
--engines secrets,iac,oss
At present, the invocation is hardcoded in:
spectral-agent-service.ts
public scan(scanPath: string): Promise {
return new Promise(async (resolve, reject) => {
const dsn = await SecretStorageService.getInstance().get(SPECTRAL_DSN)
const outputFileName = 'output.txt'
const spectralArgs = [
'--nobanners',
'scan',
'--include-tags',
'base,iac',
'--nosend',
'--ok',
'--internal-output',
outputFileName,
]
The text was updated successfully, but these errors were encountered: