Download internal/normalize/finding.go from AllenGT/omnicti: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/spaces/AllenGT/omnicti/resolve/main/internal/normalize/finding.go
- Command line
-
hf download hf://spaces/AllenGT/omnicti/internal/normalize/finding.go
-
curl -L -o finding.go https://huggingface.co/spaces/AllenGT/omnicti/resolve/main/internal/normalize/finding.go
508 Bytes
| package normalize | |
| import "time" | |
| type Finding struct { | |
| Source string // leakix, shodan, fofa | |
| Type string // misconfiguration, vulnerability, reputation | |
| Severity string // critical, high, medium, low, info | |
| BaseScore float64 // nilai sebelum decay | |
| Multiplier float64 // business logic impact multiplier (1.0 - 2.0) | |
| ObservedAt time.Time // kapan terakhir terlihat | |
| Asset string // ip / domain | |
| Evidence map[string]any // raw proof | |
| } | |