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
package main | |
import ( | |
"log" | |
"io/ioutil" | |
"io" | |
"context" | |
"bytes" | |
"os" | |
"archive/tar" |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import uuid | |
import time | |
from thehive4py.api import TheHiveApi | |
from thehive4py.models import Alert, AlertArtifact, CustomFieldHelper | |
api = TheHiveApi('http://127.0.0.1:9000', 'CHANGEME :)') | |
artifacts = [] |
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
{ | |
"actions": [ | |
{ | |
"app_name": "thehive", | |
"app_version": "0.0.3", | |
"errors": [ | |
"Parameter 'cur_id' not found in workflow but is required in 'thehive' API.", | |
"Parameter 'field' not found in workflow but is required in 'thehive' API.", | |
"Parameter 'data' not found in workflow but is required in 'thehive' API." | |
], |
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
'AlertCreation', | |
'AlertUpdate', | |
'CaseArtifactCreation', | |
'CaseArtifactJobCreation', | |
'CaseArtifactJobUpdate', | |
'CaseArtifactJobUpdate', | |
'CaseArtifactUpdate', | |
'CaseCreation', | |
'CaseTaskCreation', | |
'CaseTaskLogCreation', |
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
import React, {useState} from 'react'; | |
const App = props => { | |
const name = "@frikkylikeme" | |
const url = "https://medium.com" | |
return ( | |
<div> | |
<Functionname url={url} name={name} {...props} /> | |
</div> |
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
import React from 'react'; | |
const Functionname = () => { | |
const name = "@frikkylikeme" | |
const url = "https://medium.com | |
return ( | |
<div> | |
<App name={name} url={url} {...props} /> | |
</div> | |
); |
NewerOlder