feat: tipos OSINT para dominio cybersecurity
13 tipos product (person, email, domain, IP, phone, social_media, organization, location, vulnerability, malware, crypto_wallet, document, event) para modelar entidades de inteligencia de fuentes abiertas. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintCryptoWallet represents a cryptocurrency wallet tracked in an OSINT investigation.
|
||||
type OsintCryptoWallet struct {
|
||||
Address string `json:"address"`
|
||||
Blockchain string `json:"blockchain"`
|
||||
Balance float64 `json:"balance"`
|
||||
FirstSeen string `json:"first_seen"`
|
||||
LastSeen string `json:"last_seen"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintDocument represents a document or file of interest in an OSINT investigation.
|
||||
type OsintDocument struct {
|
||||
Title string `json:"title"`
|
||||
Format string `json:"format"`
|
||||
Classification string `json:"classification"`
|
||||
HashSHA256 string `json:"hash_sha256"`
|
||||
Source string `json:"source"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintDomain represents an internet domain tracked in an OSINT investigation.
|
||||
type OsintDomain struct {
|
||||
FQDN string `json:"fqdn"`
|
||||
Registrar string `json:"registrar"`
|
||||
CreatedDate string `json:"created_date"`
|
||||
ExpiresDate string `json:"expires_date"`
|
||||
NameServers []string `json:"name_servers"`
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintEmail represents an email address of interest in an OSINT investigation.
|
||||
type OsintEmail struct {
|
||||
Address string `json:"address"`
|
||||
Provider string `json:"provider"`
|
||||
Verified bool `json:"verified"`
|
||||
Breached bool `json:"breached"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintEvent represents a notable event or incident in an OSINT investigation.
|
||||
type OsintEvent struct {
|
||||
EventType string `json:"event_type"`
|
||||
Date string `json:"date"`
|
||||
Location string `json:"location"`
|
||||
Description string `json:"description"`
|
||||
Severity string `json:"severity"`
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintIPAddress represents an IP address of interest in an OSINT investigation.
|
||||
type OsintIPAddress struct {
|
||||
IP string `json:"ip"`
|
||||
ASN string `json:"asn"`
|
||||
Country string `json:"country"`
|
||||
ISP string `json:"isp"`
|
||||
Geolocation string `json:"geolocation"`
|
||||
LastSeen string `json:"last_seen"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintLocation represents a geographic location of interest in an OSINT investigation.
|
||||
type OsintLocation struct {
|
||||
Lat float64 `json:"lat"`
|
||||
Lon float64 `json:"lon"`
|
||||
Address string `json:"address"`
|
||||
Country string `json:"country"`
|
||||
City string `json:"city"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintMalware represents a malware sample tracked in an OSINT investigation.
|
||||
type OsintMalware struct {
|
||||
Family string `json:"family"`
|
||||
HashSHA256 string `json:"hash_sha256"`
|
||||
FirstSeen string `json:"first_seen"`
|
||||
LastSeen string `json:"last_seen"`
|
||||
ThreatLevel string `json:"threat_level"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintOrganization represents a company or group of interest in an OSINT investigation.
|
||||
type OsintOrganization struct {
|
||||
LegalName string `json:"legal_name"`
|
||||
Country string `json:"country"`
|
||||
Sector string `json:"sector"`
|
||||
Founded string `json:"founded"`
|
||||
RiskScore float64 `json:"risk_score"`
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintPerson represents an individual of interest in an OSINT investigation.
|
||||
type OsintPerson struct {
|
||||
FullName string `json:"full_name"`
|
||||
Alias []string `json:"alias"`
|
||||
Nationality string `json:"nationality"`
|
||||
DOB string `json:"dob"`
|
||||
Gender string `json:"gender"`
|
||||
RiskScore float64 `json:"risk_score"`
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintPhone represents a phone number of interest in an OSINT investigation.
|
||||
type OsintPhone struct {
|
||||
Number string `json:"number"`
|
||||
CountryCode string `json:"country_code"`
|
||||
Carrier string `json:"carrier"`
|
||||
PhoneType string `json:"phone_type"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintSocialMedia represents a social media account of interest in an OSINT investigation.
|
||||
type OsintSocialMedia struct {
|
||||
Platform string `json:"platform"`
|
||||
Username string `json:"username"`
|
||||
URL string `json:"url"`
|
||||
Followers int `json:"followers"`
|
||||
Verified bool `json:"verified"`
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintVulnerability represents a CVE or security vulnerability in an OSINT investigation.
|
||||
type OsintVulnerability struct {
|
||||
CVEID string `json:"cve_id"`
|
||||
CVSS float64 `json:"cvss"`
|
||||
AffectedProduct string `json:"affected_product"`
|
||||
Published string `json:"published"`
|
||||
Exploited bool `json:"exploited"`
|
||||
}
|
||||
Reference in New Issue
Block a user