Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlibabaActionTrail Event Collector - Fixed a parsing error related to the First fetch time interval parameter #38074

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,18 @@ def main():
'Host': f'{project_name}.{endpoint}',
'x-log-date': ''}

params = {'from': from_,
'to': from_ + 3600,
params = {'from': str(from_),
'to': str(from_ + 3600),
'query': query}

demisto_params['method'] = Method.GET
demisto_params['url'] = f'http://{project_name}.{endpoint}:80/logstores/{logstore_name}'
demisto_params['headers'] = headers

request = IntegrationHTTPRequest(**demisto_params)
request.params = AlibabaParams.parse_obj(params) # type: ignore
request.params = AlibabaParams.model_validate(params) # type: ignore

options = IntegrationOptions.parse_obj(demisto_params)
options = IntegrationOptions.model_validate(demisto_params) # type: ignore

client = AlibabaEventsClient(request, options, access_key=access_key,
access_key_id=access_key_id, logstore_name=logstore_name)
Expand Down
6 changes: 6 additions & 0 deletions Packs/AlibabaActionTrail/ReleaseNotes/1_1_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Alibaba Action Trail Event Collector

- Fixed an issue where the *First fetch time interval* parameter wasn't parsed correctly.
2 changes: 1 addition & 1 deletion Packs/AlibabaActionTrail/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Alibaba Action Trail",
"description": "An Integration Pack to fetch Alibaba action trail events.",
"support": "xsoar",
"currentVersion": "1.1.1",
"currentVersion": "1.1.2",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading