-
Notifications
You must be signed in to change notification settings - Fork 29
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
[!] Error creating options for the datasources custom field. #8
Comments
Thanks for opening this, I will try to replicate it and follow up here. If you want to re-run it, you will have to manually delete the Project the tool created first. |
Hello @goggan. I am actually not getting this error. Are you using the Cloud version of Jira ? Can you manually log in to Jira, delete the project ( and then delete it from trash ) and try again ? Thanks |
Deleted and trying again now... |
Running against our 'something'.atlassian.net During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Thanks !. I'm getting the same error but this seems to be an error with the attackcti library not being able to reach the ATT&CK API. I will reach out to the maintainers of the library. I'll keep this issue open. |
The ATT&CK API is now working, it seems it was an availability issue. Now I see the error you pointed out. It seems that get_data_sources() function in attackcti is returning a list with duplicate data sources. When attack2jira tries to create all the options, Jira does not like it. Should be easy to fix. {"errorMessages":["Found duplicate option 'Windows Error Reporting'.","Found duplicate option 'Windows Registry'.","Found duplicate option 'File Monitoring'.","Found duplicate option 'SSL/TLS inspection'.","Found duplicate option 'process use of network'.","Found duplicate option 'Sequential Event Recorder'.","Found duplicate option 'Alarm history'."],"errors":{}} |
Ok, this is fixed now. Please pull the latest codebase and try it. There is another issue to fix: I need to think about better presenting techniques vs sub techniques. |
Interesting; I’m now getting a permissions error though:
[!] Success!
[*] Creating the Att&ck project...
[!] Unauthorized. Probably not enough permissions :(
|
Thats weird, the changes I pushed would not affect that. Please check your Jira environment/permissions/credentials again. |
Yeah, I thought it was odd too, getting our admin to check perms but pretty sure nothing has changed (and I'm still able to trash and erase the old project which implies admin I believe) |
Confirmed, still admin, and can move to trash & restore projects. |
Bah. Disregard. The API reports success on auth based on any valid API key, but if you spell your email address wrong it then spits an error later. |
Cool. Everything else worked? |
Running now before I give the thumbs up and close! |
Did it work ? I also want to pick your brain on how to show Techniques and Sub-Techniques. Are you on slack or discord ? |
It did work! Thanks! Sorry, thought I closed it. |
Heya,
Mine crashes out at the datasources custom field, help!
[] Authenticating to https://[redacted].atlassian.net...
[!] Success!
[] Creating the Att&ck project...
[!] Success!
[*] Creating custom fields ...
[!] Successfully created 'tactic' custom field.
[!] Successfully created 'maturity' custom field.
[!] Successfully created 'url' custom field.
[!] Successfully created 'datasources' custom field.
[!] Successfully created 'id' custom field.
[!] Error creating options for the datasources custom field.
Unfortunately if I try to rerun where it left off, it kicks another error:
[] Authenticating to ...
[!] Success!
[] Creating the Att&ck project...
[!] Error creating Jira project. Does it already exist ?
Cheers,
Glyn.
The text was updated successfully, but these errors were encountered: