mirror of https://github.com/MISP/PyMISP
Updated auth parameters
parent
006103d2fe
commit
4c0ed124f5
|
@ -2,8 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from pymisp import PyMISP
|
from pymisp import PyMISP
|
||||||
from keys import url_priv, key_priv
|
from keys import misp_url, misp_key
|
||||||
# from keys import url_cert, key_cert
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,7 +25,6 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
misp = init(url_priv, key_priv)
|
misp = init(misp_url, misp_key)
|
||||||
# misp = init(url_cert, key_cert)
|
|
||||||
|
|
||||||
up_event(misp, args.event, args.input)
|
up_event(misp, args.event, args.input)
|
||||||
|
|
Loading…
Reference in New Issue