microsoft / sarif-sdk

.NET code and supporting files for working with the 'Static Analysis Results Interchange Format' (SARIF, see https://github.com/oasis-tcs/sarif-spec)
Other
191 stars 88 forks source link

Add `--timeout-in-seconds` parameter to `AnalyzeOptionsBase` #2760

Closed LingZhou-gh closed 6 months ago

LingZhou-gh commented 6 months ago

Add --timeout-in-seconds parameter to AnalyzeOptionsBase, which will override context settings in AnalyzeContextBase.

The AnalyzeContextBase uses the property of TimeoutInMilliseonds as shown blown. This keeps unchanged to avoid breaking any potentially existing setting.

image