Skip to content

Commit

Permalink
minor updates to conne connector.
Browse files Browse the repository at this point in the history
Inc version
  • Loading branch information
Jason McFarland committed Sep 6, 2017
1 parent a55d081 commit 9148b17
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
20 changes: 14 additions & 6 deletions cb-fireeye-connector.spec
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
a = Analysis(['scripts/cb-fireeye-connector'],
pathex=['.'],
hiddenimports=['unicodedata', 'requests'],
hiddenimports=['unicodedata'],
datas=[ (HOMEPATH + '/cbapi/response/models/*', 'cbapi/response/models/'),
(HOMEPATH + '/cbapi/protection/models/*', 'cbapi/protection/models/'),
(HOMEPATH + '/cbapi/defense/models/*', 'cbapi/defense/models/') ],
hookspath=None,
runtime_hooks=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
exclude_binaries=True,
name='cb-fireeye-connector',
debug=False,
strip=False,
strip=None,
upx=True,
console=True )
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='cb-fireeye-connector')
2 changes: 1 addition & 1 deletion cbfireeyebridge/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(self, name, configfile, **kwargs):
self.data_dir = "/usr/share/cb/integrations/fireeye/received_alerts"

CbIntegrationDaemon.__init__(self, name, configfile=configfile, **kwargs)
self.flask_feed = cbint.utils.flaskfeed.FlaskFeed(__name__, use_wgsi_body_helper=True)
self.flask_feed = cbint.utils.flaskfeed.FlaskFeed(__name__)
self.bridge_options = {}
self.debug = False
self.feed_name = "FireEye"
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cbfeeds == 0.8.0
cbint == 0.8.10
cbint == 0.8.12
requests >= 2.7.0
simplejson
pyinstaller == 3.1.1
4 changes: 2 additions & 2 deletions scripts/cb-fireeye-connector
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import sys

import cbfireeyebridge.bridge
from cbfireeyebridge.bridge import CarbonBlackFireEyeBridge
import cbfireeyebridge.version

if __name__ == "__main__":
Expand All @@ -13,7 +13,7 @@ if __name__ == "__main__":
os.environ["REQUESTS_CA_BUNDLE"] = cacert_pem_path

name = "fireeye"
daemon = cbfireeyebridge.bridge.CarbonBlackFireEyeBridge(name, "/etc/cb/integrations/fireeye/connector.conf")
daemon = CarbonBlackFireEyeBridge(name, "/etc/cb/integrations/fireeye/connector.conf")
if len(sys.argv) == 2:
if 'start' == sys.argv[1]:
daemon.start()
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def get_data_files(rootdir):

setup(
name='python-cb-fireeye-connector',
version='1.2',
packages=['cbopensource', 'cbopensource.connectors', 'cbopensource.connectors.fireeye'],
version='1.1',
packages=['cbfireeyebridge'],
url='https://github.com/carbonblack/cb-fireeye-connector',
license='MIT',
author='Carbon Black Developer Network',
Expand Down

0 comments on commit 9148b17

Please sign in to comment.