API Reference
Class
ThreatFeedAnalysis
Queries threat feed APIs for IP reputation data.
Inheritance
- Object
- ThreatFeedAnalysis
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property DomainHealthCheck.ThreatFeedAnalysis
- Property ThreatFeedInfo.Raw
Accepted by parameters
- Method ThreatFeedNarrative.Build
- Method Converters.Convert
Constructors
public ThreatFeedAnalysis(HttpClient client = null) #Initializes a new instance of ThreatFeedAnalysis.
Parameters
- client System.Net.Http.HttpClient = null
- Optional HTTP client for requests.
Methods
public async Task Analyze(String ip, String virusTotalApiKey, String abuseIpDbApiKey, InternalLogger logger, CancellationToken ct = null) #Returns:
TaskQueries all enabled threat feeds.
Parameters
- ip System.String
- virusTotalApiKey System.String
- abuseIpDbApiKey System.String
- logger DomainDetective.InternalLogger
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Subject { get; set; } #Gets or sets the subject value.
public Func<String, Task<String>> VirusTotalOverride { get; set; } #Override VirusTotal query returning JSON.
public Func<String, Task<VirusTotalObject>> VirusTotalObjectOverride { get; set; } #Override VirusTotal query returning a model.
public Func<String, Task<String>> AbuseIpDbOverride { get; set; } #Override AbuseIPDB query.
public List<ThreatIntelFinding> Listings { get; } #Results returned from the consulted sources.
public String FailureReason { get; set; } #If feed queries fail, explains why.
public virtual List<Assessment> Assessments { get; } #Gets the assessments value.
public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #Represents the recommendations value.