Skip to content

Commit

Permalink
Merge pull request #49 from wordfence/milestone/exploring-elk
Browse files Browse the repository at this point in the history
Release v1.1.0 (exploring-elk)
  • Loading branch information
akenion authored Sep 20, 2023
2 parents 7a9d7ed + c2d6afb commit 96d02df
Show file tree
Hide file tree
Showing 12 changed files with 495 additions and 230 deletions.
2 changes: 1 addition & 1 deletion wordfence/api/noc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def request(self, action: str, query: dict = None):
query = self.build_query(action, query)
url = self.base_url + '?' + urlencode(query)
try:
response = requests.get(url)
response = requests.get(url, timeout=self.timeout)
return response.json()
except Exception as error:
raise ApiException('Request failed') from error
Expand Down
8 changes: 8 additions & 0 deletions wordfence/cli/scan/config/config_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ def byte_length(conversion_value: str) -> int:
"separator": ","
}
},
"allow-io-errors": {
"description": "Allow scanning to continue if IO errors are "
"encountered. Files that cannot be read will "
"be skipped and a warning will be logged.",
"context": "ALL",
"argument_type": "FLAG",
"default": False
},
"chunk-size": {
"short_name": "z",
"description": "Size of file chunks that will be scanned. Use a whole "
Expand Down
Loading

0 comments on commit 96d02df

Please sign in to comment.