p1llus / arcsight-rest Goto Github PK
View Code? Open in Web Editor NEWPython library for the ArcSight logger REST API
License: MIT License
Python library for the ArcSight logger REST API
License: MIT License
what about save session by saving the authToken in a file and load it later for new search ?
Hi, thanks for creating this library to interact with Arcsight.
I am using python 3.6 and when I tried to login to Arcsight server, I get this error:
~/.virtualenvs/blabla/lib/python3.6/site-packages/arcsightrest.py in __init__(self, username, password, disable_insecure_warning)
34 }, is_json=False)
35 r.raise_for_status()
---> 36 loginrequest = untangle.parse(r.content)
37 self.token = loginrequest.ns3_loginResponse.ns3_return.cdata
38
~/.virtualenvs/blabla/lib/python3.6/site-packages/untangle.py in parse(filename, **parser_features)
180 parser.parse(filename)
181 else:
--> 182 parser.parse(StringIO(filename))
183
184 return sax_handler.root
TypeError: initial_value must be str or None, not bytes
Any ideas what this could be?
Could you please Implement logout option?
Hi
I am unable to import the arsightrest lib, can you please have a look in to this
python
Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import arcsightrest
Traceback (most recent call last):
File "", line 1, in
File "arcsightrest.py", line 130
for field, result in zip(events['fields'], results)
^
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.