Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SARIF Package Release History (SDK, Driver, Converters, and Multitool)
v3.2.0 Sdk | Driver | Converters | Multitool | Multitool Library
SarifLogger
no longer allows providing aTool
instance. Use therun
parameter instead (and populate it with any customTool
object). #2614SarifLogger
updates version details differently. #2611ToolComponent
argument toIAnalysisLogger.Log(ReportingDescriptor, Result)
method. #2611--normalize-for-github
argument to--normalize-for-ghas
forconvert
command and mark--normalize-for-github
as obsolete. #2581IAnalysisContext.LogToolNotification
method to addReportingDescriptor
parameter. This is required in order to populatedAssociatedRule
data inNotification
instances. The new method has an option value of null for theassociatedRule
parameter to maximize build compatibility. #2604LogMissingreportingConfiguration
helper toLogMissingReportingConfiguration
. #2599MaxFileSizeInKilobytes
from int to long inIAnalysisContext
and other classes. #2599Guid
properties defined in SARIF spec, updated Json schema to useuuid
, and updated C# object model to useGuid?
instead ofstring
. #2555AnalyzeCommandBase
as obsolete. This type will be removed in the next significant update. #2599LogUnhandledEngineException
no longer has a return value (and updates theRuntimeErrors
context property directly as other helpers do). #2599MultithreadedAnalyzeCommandBase
by correcting task creation. []Threading fixes #2618](Threading fixes #2618)Collection was modified; enumeration operation may not execute
inMultithreadedAnalyzeCommandBase
, raised when analyzing with the--hashes
switch. #2459. There was a previous attempt to fix this in #2447.match-results-forward
command fails to generate VersionControlDetails data. #2487match-results-forward
commands for results with sub-rule ids. #2486merge
command to properly produce runs by tool and version when passed the--merge-runs
argument. #2488IOException
andDirectoryNotFoundException
exceptions thrown bymerge
command when splitting by rule (due to invalid file characters in rule ids). #2513virtual
keyword for public methods and properties, by regenerate and manually sync the changes. #2537NullReferenceException
when file hashing fails (due to file locked or other errors reading the file). #2596PluginDriver
property (AdditionalOptionsProvider
) that allows additional options to be exported (typically for command-line arguments). #2599LogFileSkippedDueToSize
that fires a warning notification if any file is skipped due to exceeding size threshold. #2599ShouldEnqueue
predicate method to filter files from driver processing. #2599ShouldComputeHashes
predicate method to prevent files from hashing. #2601MaxFileSizeInKilobytes
, which will allow SDK users to change the value. (Default value is 1024) #2578GH1007
, which requires flattened result message so GHAS code scanning can ingest the log. #2580SarifLogger
with aFileRegionsCache
instance.InsertOptionalDataVisitor
(previously initialized exclusively fromFileRegionsCache.Instance
).trace and emitted timing data. Provide
ScanExecution` trace with no utilization.LogToolNotification
as called fromSarifLogger
. #2604--normalize-for-ghas
argument to therewrite
command to ensure rewritten SARIF is compatible with GitHub Advanced Security (GHAS) ingestion requirements. #2581SarifLogger
now supports extensions rules data when logging (by providing aToolComponent
instance to the result logging method). #2661SarifLogger
provides aComputeHashData
callback to provide hash data for in-memory scan targets. #2614HashUtilities.ComputeHashes(Stream)
and `ComputeHashesForText(string) helpers. #2614