Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCodeEngine ¶
type SastResponse ¶
type SastResponse struct {
SastEnabled bool `json:"sastEnabled"`
LocalCodeEngine LocalCodeEngine `json:"localCodeEngine"`
Org string `json:"org"`
SupportedLanguages []string `json:"supportedLanguages"`
ReportFalsePositivesEnabled bool `json:"reportFalsePositivesEnabled"`
AutofixEnabled bool `json:"autofixEnabled"`
// DotSnykFileExcludesEnabled controls whether file exclusions from .snyk and .dcignore files apply.
// It is a pointer so that an absent JSON field and existing struct literals keep the
// default behavior. Read it with IsDotSnykFileExcludesEnabled.
DotSnykFileExcludesEnabled *bool `json:"dotSnykFileExcludesEnabled,omitempty"`
}
func (*SastResponse) IsDotSnykFileExcludesEnabled ¶ added in v1.32.0
func (s *SastResponse) IsDotSnykFileExcludesEnabled() bool
IsDotSnykFileExcludesEnabled reports whether .snyk and .dcignore file exclusions apply. It defaults to true when the setting is nil or absent for backward compatibility.
Click to show internal directories.
Click to hide internal directories.