Skip to content

Commit eb7d7c8

Browse files
authored
Merge pull request #117 from hubblestack/develop
Merge to master (prep v2017.9.1)
2 parents ff73f27 + d525636 commit eb7d7c8

10 files changed

Lines changed: 21 additions & 12 deletions

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Please create any issues on the [Hubble](https://github.com/hubblestack/hubble)
22
repo.
33

4+
*NOTE FROM [@basepi](https://github.com/basepi)*: As we continue to add
5+
features to hubble, I'm finding more and more instances where the flexibility
6+
of not being tied to salt gives me the freedom to do more with hubble. As a
7+
result, [hubble](https://github.com/hubblestack/hubble) is slowly surpassing
8+
hubble-salt in available features. While I have no plans to deprecate
9+
hubble-salt, I do recommend checking out
10+
[hubble](https://github.com/hubblestack/hubble) if you're interested in these
11+
additional features (such as support for topfiles in pulsar).
12+
413
Table of Contents
514
=================
615

@@ -59,7 +68,7 @@ gitfs_remotes:
5968
- https://github.com/hubblestack/hubblestack_data.git:
6069
- root: ''
6170
- https://github.com/hubblestack/hubble-salt.git:
62-
- base: v2017.9.0
71+
- base: v2017.9.1
6372
- root: ''
6473
```
6574

_beacons/pulsar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
DEFAULT_MASK = None
4040

4141
__virtualname__ = 'pulsar'
42-
__version__ = 'v2017.9.0'
42+
__version__ = 'v2017.9.1'
4343
CONFIG = None
4444
CONFIG_STALENESS = 0
4545

_modules/hubble.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from nova_loader import NovaLazyLoader
3636

3737
__nova__ = {}
38-
__version__ = 'v2017.9.0'
38+
__version__ = 'v2017.9.1'
3939

4040

4141
def audit(configs=None,
@@ -453,7 +453,7 @@ def top(topfile='top.nova',
453453
# tag.
454454
data_by_tag = {}
455455
for data in top_data:
456-
if isinstance(data, str):
456+
if isinstance(data, basestring):
457457
if '*' not in data_by_tag:
458458
data_by_tag['*'] = []
459459
data_by_tag['*'].append(data)
@@ -466,7 +466,7 @@ def top(topfile='top.nova',
466466
if 'Errors' not in results:
467467
results['Errors'] = {}
468468
error_log = 'topfile malformed, list entries must be strings or '\
469-
'dicts: {0}'.format(data)
469+
'dicts: {0} | {1}'.format(data, type(data))
470470
results['Errors'][topfile] = {'error': error_log}
471471
log.error(error_log)
472472
continue

_modules/nebula_osquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
log = logging.getLogger(__name__)
4343

44-
__version__ = 'v2017.9.0'
44+
__version__ = 'v2017.9.1'
4545
__virtualname__ = 'nebula'
4646

4747

_modules/win_pulsar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
CONFIG = None
2929
CONFIG_STALENESS = 0
3030

31-
__version__ = 'v2017.9.0'
31+
__version__ = 'v2017.9.1'
3232

3333

3434
def __virtual__():

_returners/slack_pulsar_returner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
# Import Salt Libs
7070
import salt.returners
7171

72-
__version__ = 'v2017.9.0'
72+
__version__ = 'v2017.9.1'
7373

7474
log = logging.getLogger(__name__)
7575

_returners/splunk_nebula_return.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
import logging
5252

53-
__version__ = 'v2017.9.0'
53+
__version__ = 'v2017.9.1'
5454

5555
_max_content_bytes = 100000
5656
http_event_collector_SSL_verify = False

_returners/splunk_nova_return.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
import logging
5151

52-
__version__ = 'v2017.9.0'
52+
__version__ = 'v2017.9.1'
5353

5454
_max_content_bytes = 100000
5555
http_event_collector_SSL_verify = False

_returners/splunk_pulsar_return.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
import logging
5353

54-
__version__ = 'v2017.9.0'
54+
__version__ = 'v2017.9.1'
5555

5656
_max_content_bytes = 100000
5757
http_event_collector_SSL_verify = False

hubblestack_nova/cve_scan_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def _get_cve_vulnerabilities(query_results, os_version):
295295

296296
for pkg in report['_source']['affectedPackage']:
297297
#_source:affectedPackages
298-
if pkg['OSVersion'] in ['any', os_version]: #Only use matching os
298+
if pkg['OSVersion'] in ['any', str(__grains__.get('osmajorrelease', None)), str(__grains__.get('osrelease', None))]: #Only use matching os
299299
pkg_obj = VulnerablePkg(title, pkg['packageName'], pkg['packageVersion'], \
300300
score, pkg['operator'], reporter, href, cve_list)
301301
if pkg_obj.pkg not in vulnerable_pkgs:

0 commit comments

Comments
 (0)