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
Adding SARIF output support will enable Globstar to integrate better with existing security tools and IDEs. This will make it easier for teams to incorporate Globstar into their existing security workflows and toolchains. The implementation should follow the SARIF v2.1.0 specification while supporting Globstar-specific metadata.
Requirements:
SARIF v2.1.0 compliant output
Rule metadata mapping
Source location tracking
Severity level mapping
Configurable output options
The text was updated successfully, but these errors were encountered:
Related to DeepSourceCorp#22
Add SARIF output format support to Globstar.
* **analysis/analyzer.go**
- Add `reportSARIF` function to generate SARIF output format.
- Update `ReportIssues` function to include SARIF format option.
* **analysis/issue.go**
- Add `AsSARIF` function to handle source location tracking and severity level mapping for SARIF.
* **cmd/globstar/main.go**
- Add `--output-format` flag to specify the output format.
- Update `cli.Run` function to handle the new `--output-format` flag.
* **pkg/cli/cli.go**
- Add `OutputFormat` field to `Cli` struct.
- Update `Cli.Run` function to handle the new `OutputFormat` field.
Adding SARIF output support will enable Globstar to integrate better with existing security tools and IDEs. This will make it easier for teams to incorporate Globstar into their existing security workflows and toolchains. The implementation should follow the SARIF v2.1.0 specification while supporting Globstar-specific metadata.
Requirements:
The text was updated successfully, but these errors were encountered: