DefensePointSecurity / threat_note

DPS' Lightweight Investigation Notebook
Apache License 2.0
422 stars 97 forks source link

Pre-populate Object Type from Page #71

Open brianwarehime opened 8 years ago

brianwarehime commented 8 years ago

For instance, if creating a new indicator from "Files", have it select "Hash" already

sroberts commented 8 years ago

I don't know Flask inside and out but my guess would be that the request object has a referrer. It would likely be possible to look at that value and decide what to pre-populate base on the referring page (ie. if the referrer was the Threat Actors page you probably want to create a new threat actor).