-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature-python3-support' into 'master'
Adding python 3 support into cb-feeds. See merge request carbonblack/integrations/libs/feed!1
- Loading branch information
Showing
30 changed files
with
3,052 additions
and
528 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
CHANGELOG.md | ||
# Carbon Black EDR Alliance Feed Library Changelog | ||
|
||
## v1.0.0 | ||
#### Features | ||
* Converted to python3 | ||
* Added handling of sha256, ja3, ja3s and query reports | ||
* Added unit tests | ||
|
||
> _NOTE: Not all examples not converted at this time!_ | ||
## v0.8.0 | ||
#### Features | ||
* Initial Release | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
class CbException(Exception): | ||
pass | ||
|
||
class CbIconError(CbException): | ||
pass | ||
|
||
class CbInvalidFeed(CbException): | ||
pass | ||
|
||
class CbInvalidReport(CbException): | ||
pass | ||
|
||
from feed import CbFeed | ||
from feed import CbFeedInfo | ||
from feed import CbReport | ||
# coding: utf-8 | ||
# Carbon Black EDR Copyright © 2013-2020 VMware, Inc. All Rights Reserved. | ||
################################################################################ | ||
|
||
__all__ = ["CbFeed", "CbFeedInfo", "CbReport", "CbIconError", "CbInvalidFeed", "CbInvalidFeedInfo", "CbInvalidReport", | ||
"CbException"] | ||
|
||
from .exceptions import CbException, CbIconError, CbInvalidFeed, CbInvalidFeedInfo, CbInvalidReport | ||
from .feed import CbFeed, CbFeedInfo, CbReport |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# coding: utf-8 | ||
# Carbon Black EDR Copyright © 2013-2020 VMware, Inc. All Rights Reserved. | ||
################################################################################ | ||
|
||
__all__ = ["CbException", "CbIconError", "CbInvalidFeed", "CbInvalidFeedInfo", "CbInvalidReport"] | ||
|
||
|
||
# CBFeeds Exception set | ||
class CbException(Exception): | ||
"""CBFeeds base exception class""" | ||
pass | ||
|
||
|
||
class CbIconError(CbException): | ||
"""Exception for icon related issues""" | ||
pass | ||
|
||
|
||
class CbInvalidFeed(CbException): | ||
"""Exception for problems with overall feed structure""" | ||
pass | ||
|
||
|
||
class CbInvalidFeedInfo(CbException): | ||
"""Exception for problems with feedinfo information""" | ||
pass | ||
|
||
|
||
class CbInvalidReport(CbException): | ||
"""Exception for problems with report information""" | ||
pass |
Oops, something went wrong.