-
-
Save krmaxwell/5251336 to your computer and use it in GitHub Desktop.
Incident stuff for verisweet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
incident={"incident_id": "incident_id", "confidence": "high", "notes": "analyst notes", "security_compromise": "confirmed", "source_id": "source_id", "summary": "summary test" } | |
incident['victim']=list() | |
incident['victim'].append(dict(country='usa',victim_id='somecorp', revenue=dict(amount=10,iso_currency_code='USD'))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> incident | |
{'incident_id': 'incident_id', 'confidence': 'high', 'notes': 'analyst notes', 'summary': 'summary test', 'source_id': 'source_id', 'victim': [{'victim_id': 'somecorp', 'revenue': {'iso_currency_code': 'USD', 'amount': 10}, 'country': 'usa'}], 'security_compromise': 'confirmed'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment