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-8502 fix
  • Loading branch information
@nazargesyk
nazargesyk committedAug 28, 2024
commit9c573670dfa271585a48cbbb58cab9d55525d0d7
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -66,7 +66,7 @@ def parse_raw_query(self, text: str, language: str) -> RawQueryContainer:
metadata = raw_rule.get("metadata")
techniques = []
for threat_data in rule.get("threat", []):
ifthreat_data.get("technique") andlen(threat_data.get("technique")) > 0:
if len(threat_data.get("technique", [])) > 0:
techniques.append(threat_data["technique"][0]["id"].lower())
mitre_attack = self.mitre_config.get_mitre_info(
tactics=[threat_data["tactic"]["name"].replace(" ", "_").lower() for threat_data in rule.get("threat", [])],
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp