Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Lookup(ctx context.Context, input *UrlLookupRequest) (*pangea.PangeaResponse[UrlLookupResult], error) Reputation(ctx context.Context, input *UrlReputationRequest) (*pangea.PangeaResponse[UrlReputationResult], error) }
type LookupData ¶
type LookupData struct { Category []string `json:"category"` Score int `json:"score"` Verdict string `json:"verdict"` }
@deprecated Use ReputationData instead.
type ReputationData ¶
type UrlIntel ¶
func (*UrlIntel) Lookup ¶
func (e *UrlIntel) Lookup(ctx context.Context, input *UrlLookupRequest) (*pangea.PangeaResponse[UrlLookupResult], error)
@summary Reputation check
@description Retrieve a reputation score for a URL from a provider, including an optional detailed report.
@deprecated Use Reputation instead.
@example
input := &url_intel.UrlLookupRequest{ Url: "http://113.235.101.11:54384", Raw: true, Verbose: true, Provider: "crowdstrike", } resp, err := urlintel.Lookup(ctx, input)
func (*UrlIntel) Reputation ¶
func (e *UrlIntel) Reputation(ctx context.Context, input *UrlReputationRequest) (*pangea.PangeaResponse[UrlReputationResult], error)
@summary Reputation
@description Retrieve a reputation score for a URL from a provider, including an optional detailed report.
@operationId url_intel_post_v1_reputation
@example
input := &url_intel.UrlReputationRequest{ Url: "http://113.235.101.11:54384", Raw: true, Verbose: true, Provider: "crowdstrike", } resp, err := urlintel.Reputation(ctx, input)
type UrlLookupRequest ¶
type UrlLookupRequest struct { Url string `json:"url"` Verbose bool `json:"verbose,omitempty"` Raw bool `json:"raw,omitempty"` Provider string `json:"provider,omitempty"` }
@deprecated Use UrlReputationRequest instead.
type UrlLookupResult ¶
type UrlLookupResult struct { Data LookupData `json:"data"` Parameters interface{} `json:"parameters,omitempty"` RawData interface{} `json:"raw_data,omitempty"` }
@deprecated Use UrlReputationResult instead.
type UrlReputationRequest ¶
type UrlReputationResult ¶
type UrlReputationResult struct { Data ReputationData `json:"data"` Parameters interface{} `json:"parameters,omitempty"` RawData interface{} `json:"raw_data,omitempty"` }
Click to show internal directories.
Click to hide internal directories.