Documentation ¶
Index ¶
- type CITracker
- func (c *CITracker) FailedComputeSimilarityID()
- func (c *CITracker) FailedDetectLine()
- func (c *CITracker) GetOutputLines() int
- func (c *CITracker) TrackFileFound()
- func (c *CITracker) TrackFileParse()
- func (c *CITracker) TrackQueryExecuting(queryAggregation int)
- func (c *CITracker) TrackQueryExecution(queryAggregation int)
- func (c *CITracker) TrackQueryLoad(queryAggregation int)
- func (c *CITracker) TrackScanPath()
- func (c *CITracker) TrackScanSecret()
- func (c *CITracker) TrackVersion(retrievedVersion model.Version)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CITracker ¶
type CITracker struct { ExecutingQueries int ExecutedQueries int FoundFiles int FailedSimilarityID int LoadedQueries int ParsedFiles int ScanSecrets int ScanPaths int Version model.Version // contains filtered or unexported fields }
func NewTracker ¶ added in v1.2.0
NewTracker will create a new instance of a tracker with the number of lines to display in results output number of lines can not be smaller than 1
func (*CITracker) FailedComputeSimilarityID ¶ added in v1.1.2
func (c *CITracker) FailedComputeSimilarityID()
FailedComputeSimilarityID - queries that failed to compute similarity ID
func (*CITracker) FailedDetectLine ¶ added in v1.1.2
func (c *CITracker) FailedDetectLine()
FailedDetectLine - queries that fail to detect line are counted as failed to execute queries
func (*CITracker) GetOutputLines ¶ added in v1.2.0
GetOutputLines returns the number of lines to display in results output
func (*CITracker) TrackFileFound ¶
func (c *CITracker) TrackFileFound()
TrackFileFound adds a found file to be scanned
func (*CITracker) TrackFileParse ¶
func (c *CITracker) TrackFileParse()
TrackFileParse adds a successful parsed file to be scanned
func (*CITracker) TrackQueryExecuting ¶ added in v1.3.0
TrackQueryExecuting adds a executing queries
func (*CITracker) TrackQueryExecution ¶
TrackQueryExecution adds a query executed
func (*CITracker) TrackQueryLoad ¶
TrackQueryLoad adds a loaded query
func (*CITracker) TrackScanPath ¶ added in v1.4.3
func (c *CITracker) TrackScanPath()
TrackScanPath - paths to preform scan
func (*CITracker) TrackScanSecret ¶ added in v1.4.3
func (c *CITracker) TrackScanSecret()
TrackScanSecret - add to secrets scanned
func (*CITracker) TrackVersion ¶ added in v1.4.6
TrackVersion - information if current version is latest