contentctl 5.5.12__py3-none-any.whl → 5.5.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,13 +7,7 @@ from functools import cached_property
7
7
  from typing import Any, Callable
8
8
 
9
9
  import splunklib.client as splunklib # type: ignore
10
- from pydantic import (
11
- BaseModel,
12
- Field,
13
- PrivateAttr,
14
- computed_field,
15
- model_validator,
16
- )
10
+ from pydantic import BaseModel, Field, PrivateAttr, computed_field, model_validator
17
11
  from semantic_version import Version
18
12
  from splunklib.binding import HTTPError, ResponseReader # type: ignore
19
13
  from splunklib.data import Record # type: ignore
@@ -422,12 +416,14 @@ class ContentVersioningService(BaseModel):
422
416
  if self.kvstore_content_versioning:
423
417
  query = (
424
418
  f"| inputlookup cms_content_lookup | search app_name={self.global_config.app.appid}"
425
- f"| fields content"
419
+ "| fields content | spath input=content "
420
+ "| search action.correlationsearch.detection_type=ebd | fields content"
426
421
  )
427
422
  elif self.indexbased_content_versioning:
428
423
  query = (
429
- f"search index=cms_main sourcetype=stash_common_detection_model "
430
- f'app_name="{self.global_config.app.appid}" | fields _raw'
424
+ "search index=cms_main sourcetype=stash_common_detection_model "
425
+ f'app_name="{self.global_config.app.appid}" '
426
+ "action.correlationsearch.detection_type=ebd | fields _raw"
431
427
  )
432
428
  else:
433
429
  if self.kvstore_content_versioning:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: contentctl
3
- Version: 5.5.12
3
+ Version: 5.5.13
4
4
  Summary: Splunk Content Control Tool
5
5
  License: Apache 2.0
6
6
  License-File: LICENSE.md
@@ -44,7 +44,7 @@ contentctl/objects/baseline.py,sha256=EMcuz_9sVgOFh3YCj871GSAA6v3FIkRTf90-LAHq-J
44
44
  contentctl/objects/baseline_tags.py,sha256=SkGlsfigaARss3itHOgWnKhRDEB6NX8bMhfovrBUmhk,1609
45
45
  contentctl/objects/config.py,sha256=la0mUk1183ZD0gav7bGekhJxj4AOjn8hF5p7jwNqdhM,57938
46
46
  contentctl/objects/constants.py,sha256=VwwQtJBGC_zb3ukjb3A7P0CwAlyhacWiXczwAW5Jiog,5466
47
- contentctl/objects/content_versioning_service.py,sha256=KZs0DRo5AX6TzVIUDvlTiYKaKB6nZqx1WPko9-JLqP0,27341
47
+ contentctl/objects/content_versioning_service.py,sha256=y7U71BzaSf49Tp45myV4RPTgjOcyXcBjgy7HEn3Flak,27488
48
48
  contentctl/objects/correlation_search.py,sha256=cTFpdcBXmQ9AhOkNK2EK4xOafsIRktsJKNVy4e1WAns,51056
49
49
  contentctl/objects/dashboard.py,sha256=wdNCIC1MExvpsB_EyPY9ZDo9Xu9V5WDI6wkunW0fTdk,4995
50
50
  contentctl/objects/data_source.py,sha256=O58GArXVlflz3dCtVOn96Ubyi5_ekSC1N9LuveQNws4,2019
@@ -165,8 +165,8 @@ contentctl/templates/detections/web/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
165
165
  contentctl/templates/macros/security_content_ctime.yml,sha256=Gg1YNllHVsX_YB716H1SJLWzxXZEfuJlnsgB2fuyoHU,159
166
166
  contentctl/templates/macros/security_content_summariesonly.yml,sha256=9BYUxAl2E4Nwh8K19F3AJS8Ka7ceO6ZDBjFiO3l3LY0,162
167
167
  contentctl/templates/stories/cobalt_strike.yml,sha256=uj8idtDNOAIqpZ9p8usQg6mop1CQkJ5TlB4Q7CJdTIE,3082
168
- contentctl-5.5.12.dist-info/METADATA,sha256=mKOH-t5eMxtplKdZiNuQhYpfe_4gIA_9hMPfe-ug5nM,5144
169
- contentctl-5.5.12.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
170
- contentctl-5.5.12.dist-info/entry_points.txt,sha256=5bjZ2NkbQfSwK47uOnA77yCtjgXhvgxnmCQiynRF_-U,57
171
- contentctl-5.5.12.dist-info/licenses/LICENSE.md,sha256=hQWUayRk-pAiOZbZnuy8djmoZkjKBx8MrCFpW-JiOgo,11344
172
- contentctl-5.5.12.dist-info/RECORD,,
168
+ contentctl-5.5.13.dist-info/METADATA,sha256=cU0VqTKzYp-ncuQxHUWaJaQZqW8UKSDFIIWowEcqsaw,5144
169
+ contentctl-5.5.13.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
170
+ contentctl-5.5.13.dist-info/entry_points.txt,sha256=5bjZ2NkbQfSwK47uOnA77yCtjgXhvgxnmCQiynRF_-U,57
171
+ contentctl-5.5.13.dist-info/licenses/LICENSE.md,sha256=hQWUayRk-pAiOZbZnuy8djmoZkjKBx8MrCFpW-JiOgo,11344
172
+ contentctl-5.5.13.dist-info/RECORD,,