Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

Update data_svc.py #79

Closed
wants to merge 3 commits into from
Closed

Conversation

GoldBigDragon
Copy link

config.yml
- taxii-local: local-json
- json_file: enterprise-attack.json

Error alert
future: <Task finished name='Task-1' coro=<background_tasks() done, defined at tram.py:21>
exception=KeyError('description')>
Traceback (most recent call last):
File "tram.py", line 42, in background_tasks
await data_svc.insert_attack_json_data(json_file)
File "/home/tram/tram/service/data_svc.py", line 142, in insert_attack_json_data
'description': item['description'],
KeyError: 'description'

@jecarr
Copy link

jecarr commented Apr 29, 2021

This is covered by #61

Sorry! I see how this is different, re #60 (comment). As mentioned there, for completeness of my branch, I've applied your fix to my branch too, thanks!

Added text file analyze
@jecarr jecarr mentioned this pull request May 19, 2021
+ PDF reader
@MarkDavidson
Copy link
Contributor

Hello @GoldBigDragon and thank you for the substantive PR. TRAM has moved to https://github.com/center-for-threat-informed-defense/tram, and I wasn't able to determine how best to migrate the intent of this PR to that repository. If you would like to have that conversation, I am happy to.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants