Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Gis 8502#192

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nazargesyk merged 14 commits intomainfromgis-8502
Sep 12, 2024
Merged
Changes from1 commit
Commits
Show all changes
14 commits
Select commitHold shift + click to select a range
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
PrevPrevious commit
NextNext commit
gis-8503 fix
  • Loading branch information
@nazargesyk
nazargesyk committedAug 21, 2024
commit8f7deb4ef1ae77a58e7ecfd64376b519a093dd5c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -68,10 +68,9 @@ def parse_raw_query(self, text: str, language: str) -> RawQueryContainer:
tactics=[threat_data["tactic"]["name"].replace(" ", "_").lower() for threat_data in rule.get("threat", [])],
techniques=[threat_data["technique"][0]["id"].lower() for threat_data in rule.get("threat", [])],
)
date = None
if metadata.get("creation_date"):
date = datetime.strptime(metadata.get("creation_date"), "%Y/%m/%d").strftime("%Y-%m-%d")
else:
date = None
return RawQueryContainer(
query=rule["query"],
language=language,
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp