refactor: reorganize OSINT types — genéricos a core, específicos en cybersecurity
Mueve tipos genéricos (Person, Organization, Location, Email, Phone, Document, Domain, Event, SocialMedia) de cybersecurity a core. Mantiene en cybersecurity solo los específicos de seguridad (CryptoWallet, IPAddress, Malware, Vulnerability). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintCryptoWallet represents a cryptocurrency wallet tracked in an OSINT investigation.
|
||||
type OsintCryptoWallet struct {
|
||||
// CryptoWallet represents a cryptocurrency wallet tracked in an OSINT investigation.
|
||||
type CryptoWallet struct {
|
||||
Address string `json:"address"`
|
||||
Blockchain string `json:"blockchain"`
|
||||
Balance float64 `json:"balance"`
|
||||
@@ -1,7 +1,7 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintIPAddress represents an IP address of interest in an OSINT investigation.
|
||||
type OsintIPAddress struct {
|
||||
// IPAddress represents an IP address of interest in an OSINT investigation.
|
||||
type IPAddress struct {
|
||||
IP string `json:"ip"`
|
||||
ASN string `json:"asn"`
|
||||
Country string `json:"country"`
|
||||
@@ -1,7 +1,7 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintMalware represents a malware sample tracked in an OSINT investigation.
|
||||
type OsintMalware struct {
|
||||
// Malware represents a malware sample tracked in an OSINT investigation.
|
||||
type Malware struct {
|
||||
Family string `json:"family"`
|
||||
HashSHA256 string `json:"hash_sha256"`
|
||||
FirstSeen string `json:"first_seen"`
|
||||
@@ -1,10 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
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"`
|
||||
}
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package cybersecurity
|
||||
|
||||
// OsintVulnerability represents a CVE or security vulnerability in an OSINT investigation.
|
||||
type OsintVulnerability struct {
|
||||
// Vulnerability represents a CVE or security vulnerability in an OSINT investigation.
|
||||
type Vulnerability struct {
|
||||
CVEID string `json:"cve_id"`
|
||||
CVSS float64 `json:"cvss"`
|
||||
AffectedProduct string `json:"affected_product"`
|
||||
Reference in New Issue
Block a user