Comments (3)
Ok, some additional data. The repeated calls to the operations and summary API endpoints only happen if you navigate to the operations page, then select an operation off the dropdown menu. If you delete a record or otherwise don't have one already selected the constant reloading doesn't occur.
I've also cut the amount of data it's trying to pull back every time from the operations endpoint somewhat by culling old records I don't need any longer.
from caldera.
Yeah, the overall bandwidth requirement was due in large part to the amount of data returned from the api/v2/operations endpoint combined with a crazy fast polling period. Since I'm still testing this out I had hundreds of test iterations, some of which with hundreds of individual lines. It was like 10 megabytes each time it gets called and easily a hundred times in a minute.
I used some PS scripting to bulk remove (what happened to being able to kill YML files??) that makes the console usable again.
$API_KEY = "xxxxxxxxxxxxxxxxxxxx"
$uri = "https://xxxxxxxxxxxxxxxxxxxxxxxx/api/v2/operations"
$headers = @{
KEY = $API_KEY
}
$operations = Invoke-RestMethod -Uri $uri -Method GET -Headers $headers
foreach ( $operation in $operations ) {
# if the operation name field contains the word "test" then remove it
#if ($operation.name -match "test") {
write-output "Removing $($operation.name)"
$opToRemove = $operation.id
$uri = "https://xxxxxxxxxxxxxx/api/v2/operations/$opToRemove"
Invoke-RestMethod -Uri $uri -Method DELETE -Headers $headers
write-output ==========
#}
#$operation.id
}
from caldera.
There's an issue with the operations API endpoint returning a ton of data and having a fast polling cycle in the current Magma release.. I've addressed it on my local instance in MAGMA#51. Long term fix should be a process that only polls changes IMO.
from caldera.
Related Issues (20)
- FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable HOT 2
- Unable to change agent group name or set agent group in WebUI . HOT 2
- psh executor for Windows agent not working HOT 4
- Not able to login HOT 13
- Attempting to achieve lateral movement using sandcat agent and metasploit HOT 3
- No review command button during empty operation Training Module HOT 5
- Wrong time format in event logs of operations HOT 1
- caldera-ot plugins apear on dashboard but when start operation don't work or apeare on operation or they don't execute? HOT 2
- Encoding error when approving link during manual operation HOT 1
- Confusion between obfuscated command and edited command in manual operations HOT 1
- fact_store's lifecycle? HOT 3
- Custom abilities do not support requirement definitions using stockpile basic parser HOT 14
- Agent communicates with base64 obfuscation despites different operation settings HOT 6
- install v5.0.0 error HOT 7
- Caldera and engage HOT 1
- Can not login to caldera 5.0 HOT 10
- Abilities' changes in adversaries' views are not updated consistlently, leading to potential loss HOT 1
- Atomic Red Team plug-in failing to load when starting Caldera HOT 3
- Facts created in "fact sources" do not support relationships? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caldera.