[New Rule] AWS S3 Bucket Enumeration or Brute Force (#3635)
* [New Rule] AWS S3 Bucket Enumeration or Brute Force
Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com>
---------
Co-authored-by: brokensound77 <brokensound77@users.noreply.github.com>
Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com>
(cherry picked from commit 54ff270c62)
This commit is contained in:
committed by
github-actions[bot]
parent
6938b486c3
commit
4ef606b3c6
@@ -595,8 +595,11 @@ class QueryValidator:
|
||||
raise NotImplementedError()
|
||||
|
||||
@cached
|
||||
def get_required_fields(self, index: str) -> List[dict]:
|
||||
def get_required_fields(self, index: str) -> List[Optional[dict]]:
|
||||
"""Retrieves fields needed for the query along with type information from the schema."""
|
||||
if isinstance(self, ESQLValidator):
|
||||
return []
|
||||
|
||||
current_version = Version.parse(load_current_package_version(), optional_minor_and_patch=True)
|
||||
ecs_version = get_stack_schemas()[str(current_version)]['ecs']
|
||||
beats_version = get_stack_schemas()[str(current_version)]['beats']
|
||||
|
||||
Reference in New Issue
Block a user