Documentation ¶
Index ¶
- Constants
- func FilterInstances()
- func ImportJobs()
- func ScanSecrets()
- type FilterStep
- func (g FilterStep) Process(instance *scanct.Instance) ([]scanct.Jenkins, error)
- func (g FilterStep) SaveResult(db *scanct.Database, result []scanct.Jenkins) error
- func (g FilterStep) SetProcessed(db *scanct.Database, i *scanct.Instance) error
- func (g FilterStep) UnprocessedInputs(db *scanct.Database) ([]scanct.Instance, error)
- type JobStep
- func (j JobStep) Process(jenkins *scanct.Jenkins) ([]scanct.JenkinsJob, error)
- func (j JobStep) SaveResult(db *scanct.Database, o []scanct.JenkinsJob) error
- func (j JobStep) SetProcessed(db *scanct.Database, i *scanct.Jenkins) error
- func (j JobStep) UnprocessedInputs(db *scanct.Database) ([]scanct.Jenkins, error)
- type JobsApiResponse
- type JobsApiResponseJob
- type SecretsStep
- func (_ SecretsStep) Process(job *scanct.JenkinsJob) ([]scanct.JenkinsFinding, error)
- func (_ SecretsStep) SaveResult(db *scanct.Database, findings []scanct.JenkinsFinding) error
- func (_ SecretsStep) SetProcessed(db *scanct.Database, job *scanct.JenkinsJob) error
- func (f SecretsStep) UnprocessedInputs(db *scanct.Database) ([]scanct.JenkinsJob, error)
Constants ¶
View Source
const JenkinsMagicURL = "/api/json"
Variables ¶
This section is empty.
Functions ¶
func FilterInstances ¶
func FilterInstances()
func ImportJobs ¶
func ImportJobs()
func ScanSecrets ¶
func ScanSecrets()
Types ¶
type FilterStep ¶
type FilterStep struct{}
func (FilterStep) SaveResult ¶
func (FilterStep) SetProcessed ¶
func (FilterStep) UnprocessedInputs ¶
type JobStep ¶
type JobStep struct{}
func (JobStep) SaveResult ¶
func (JobStep) SetProcessed ¶
type JobsApiResponse ¶
type JobsApiResponse struct {
Jobs []JobsApiResponseJob `json:"jobs"`
}
type JobsApiResponseJob ¶
type SecretsStep ¶
type SecretsStep struct{}
func (SecretsStep) Process ¶
func (_ SecretsStep) Process(job *scanct.JenkinsJob) ([]scanct.JenkinsFinding, error)
func (SecretsStep) SaveResult ¶
func (_ SecretsStep) SaveResult(db *scanct.Database, findings []scanct.JenkinsFinding) error
func (SecretsStep) SetProcessed ¶
func (_ SecretsStep) SetProcessed(db *scanct.Database, job *scanct.JenkinsJob) error
func (SecretsStep) UnprocessedInputs ¶
func (f SecretsStep) UnprocessedInputs(db *scanct.Database) ([]scanct.JenkinsJob, error)
Click to show internal directories.
Click to hide internal directories.