scs

package
v1.10.4-0...-873d410 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuildFailedOutput    = "Msbuild failed when processing the file"
	SolutionFileNotFound = "solution file not found"
)
View Source
const CMD = `` /* 241-byte string literal not displayed */

nolint:lll // necessary to be long

Variables

View Source
var (
	// ErrSolutionNotFound occurs when a .sln file not found on dotnet project.
	//
	// nolint: lll
	ErrSolutionNotFound = errors.New("security code scan failed to execute. The current working directory does not contain a solution file")

	// ErrBuildProject occurs when SCS fail to build the dotnet project.
	ErrBuildProject = errors.New("project failed to build. Fix the project issues and try again")

	// ErrInvalidSDKOutput occurs when SCS try to use an old version of csharp SDK to analyze a project with the new One
	ErrInvalidSDKOutput = errors.New("horusec-engine-csharp SDK is outdated, " +
		"you can build your own and add to horusecCliCustomImages config" +
		" or create a new issue on https://github.com/ZupIT/horusec/issues to maintainers update the image")
)

Functions

This section is empty.

Types

type Formatter

type Formatter struct {
	formatters.IService
	// contains filtered or unexported fields
}

func NewFormatter

func NewFormatter(service formatters.IService) *Formatter

func (*Formatter) StartAnalysis

func (f *Formatter) StartAnalysis(projectSubPath string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL