Skip to content

Commit 028a29c

Browse files
committed
pruned out some of the tooltip data
1 parent fb975ae commit 028a29c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

utils/viz/viz.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"github.com/owasp-amass/open-asset-model/contact"
1919
oamdns "github.com/owasp-amass/open-asset-model/dns"
2020
"github.com/owasp-amass/open-asset-model/org"
21+
"github.com/owasp-amass/open-asset-model/platform"
2122
oamreg "github.com/owasp-amass/open-asset-model/registration"
2223
)
2324

@@ -208,15 +209,21 @@ func newNode(db repository.Repository, idx int, a *types.Entity, since time.Time
208209

209210
atype := string(asset.AssetType())
210211
switch v := asset.(type) {
212+
case *oamreg.AutnumRecord:
213+
v.Raw = ""
211214
case *contact.ContactRecord:
212215
key = "Found->" + key
213216
case *oamreg.DomainRecord:
214217
key = "WHOIS: " + key
218+
case *oamreg.IPNetRecord:
219+
v.Raw = ""
215220
case *contact.Location:
216221
parts := []string{v.BuildingNumber, v.StreetName, v.City, v.Province, v.PostalCode}
217222
key = strings.Join(parts, " ")
218223
case *org.Organization:
219224
key = fmt.Sprintf("%s, %s", v.Name, v.ID)
225+
case *platform.Service:
226+
v.Output = ""
220227
case *oamcert.TLSCertificate:
221228
key = fmt.Sprintf("%s, %s", v.SubjectCommonName, v.SerialNumber)
222229
}

0 commit comments

Comments
 (0)