Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleID = "drupal-api-detect" ModuleName = "Drupal API Exposure" ModuleShort = "Detects exposed Drupal JSON:API and REST endpoints from response content" )
Variables ¶
View Source
var ( ModuleDesc = `` /* 739-byte string literal not displayed */ ModuleConfirmation = "Confirmed when responses contain JSON:API content types or Drupal REST entity data structures" ModuleSeverity = severity.Low ModuleConfidence = severity.Certain ModuleTags = []string{"drupal", "cms", "api", "light"} )
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BasePassiveModule
// contains filtered or unexported fields
}
func (*Module) ScanPerRequest ¶
func (m *Module) ScanPerRequest(ctx *httpmsg.HttpRequestResponse, scanCtx *modkit.ScanContext) ([]*output.ResultEvent, error)
Click to show internal directories.
Click to hide internal directories.