-
Notifications
You must be signed in to change notification settings - Fork 165
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
Upload Multiple Test Case files - Import Multiple Logs #235
Comments
This would be a large enhancement given the current functionality. Noted for future consideration. |
I have written a quick script to merge multiple logs into 1 file for easier upload. This merges the procedures of all files in a directory and will take a predefined https://github.com/Retrospected/attire-merger Importing these logs via an API would be very useful as well for automated test environments. |
Awesome, thanks for publishing and sharing this! We do plan on allowing ingestion of these logs via API. There are some technical limitations regarding how this log data was stored that we're reworking as part of major backend changes we're addressing now. We expect to expose this functionality via the API sometime soon after that's completed. |
It'll be better if we can record/write multiple <execution-data, procedures[]> items in one AttireLog.json file, but it has to change the attire schema to support this need. Like, {
"$schema": "http://json-schema.org/draft-07/schema",
...
"required": [
"test-cases"
],
"properties": {
"test-cases": {
"type": "array",
"properties": {
"execution-data": {
"$id": "#/properties/execution-data",
"type": "object",
...
},
"procedures": {
"$id": "#/properties/procedures",
"type": "array",
...
},
...
}
...
}
}
} |
how do you run the command for the attire-merger.py? |
If you want to ask questions about the python project you should open an issue there. https://github.com/Retrospected/attire-merger This issue is for the feature request at hand. |
Describe the Feature Request
I am attempting to run RedCanary's
Atomic RedTeam Tests
(ART) and output them toATTiRE
format and import them intoVectr
for further analysis and collaboration. The upload option requires that each file be uploaded individually, if you run the suggested method in aforeach
loop this can output quite a lot of files.To Reproduce
Based on the instructions in this Repository:
https://github.com/redcanaryco/invoke-atomicredteam/wiki/Execute-Atomic-Tests-(Local)
I run the suggested
foreach
loop:Based on the GUI interface:
It looks like multiple file uploads are possible, but when you click/drag files it only allows one at a time.
Steps to reproduce the behavior:
Expected behavior
I expect to be able to import multiple files directly into the assessment based on the text inside the upload function.
Desktop (please complete the following information):
Windows 10
runningdocker compose up
ondocker 4.18.0
Firefox 112
8.8.0-ce
(latest release)Additional context
n/a
The text was updated successfully, but these errors were encountered: