Skip to content

Commit 78fc397

Browse files
committed
Fix bad example to match hubblestack_data
1 parent edb58d3 commit 78fc397

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hubblestack/extmods/modules/nebula_osquery.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,11 @@ def _mask_object(object_to_be_masked, topfile):
381381
# full globbing. '*' is just given
382382
# special treatment.
383383
column: 'environment' # Column name in the osquery to be masked. No regex or glob support
384-
attribute_to_check: 'value' # In the inner dict, this is the key
385-
# to check for blacklisted_patterns
384+
attribute_to_check: 'variable_name' # In the inner dict, this is the key
385+
# to check for blacklisted_patterns
386386
attributes_to_mask: # Values under these keys in the dict will be
387-
- 'env_var_name' # masked, assuming one of the blacklisted_patterns
388-
# is found under attribute_to_check in the same dict
387+
- 'value' # masked, assuming one of the blacklisted_patterns
388+
# is found under attribute_to_check in the same dict
389389
blacklisted_patterns: # Strings to look for under attribute_to_check. No regex support.
390390
- 'ETCDCTL_READ_PASSWORD'
391391
- 'ETCDCTL_WRITE_PASSWORD'

0 commit comments

Comments
 (0)