# Context analyzer

This module processes all the traffic given to Akto but from a stats and ML perspective. From the traffic, it finds out API dependencies, flow graph, private resources being shared in APIs etc. All the work done by context-analyzer is used to reduce false positives in test results. The more data is given to context analyzer, the better the test results get.

* Dockerhub version: aktosecurity/akto-api-context-analyzer:latest (Enterprise only)
* Interaction: Context analyzer runs as a separate docker image. There, it consumes data from Kafka and saves context inferred from traffic in **Mongo**.
* Architecture: For enterprises, Context analyzer docker runs on a separate instance in a private subnet as part of an AutoScalingGroup. It also uses a separate Kafka+Zookeeper docker alongside. It is separate from **Runtime analyzer** because this is data hungry, updates are less frequent and meant for 1hr+ duration


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/components/context-analyzer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
