TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/JoseOlivares19/Proyecto-PC3-JavaScript-Avanzado/llms.txt
Use this file to discover all available pages before exploring further.
/predict/cyber-sentinel endpoint evaluates a cybersecurity incident snapshot across six network and host metrics and classifies it into one of four severity tiers. The RandomForest model combines failed login volume, open port exposure, unpatched critical vulnerabilities, anomalous traffic percentage, number of affected endpoints, and the overall patch coverage rate to derive a composite risk score. The response provides confidence, a full four-tier probability ranking, and targeted remediation recommendations for your security operations centre.
Endpoint
Request Body
Number of failed login attempts detected in the current observation window. Must be between
0 and 200.Count of open network ports exposed on monitored hosts. Must be between
0 and 100.Number of unpatched critical CVEs detected across the monitored environment. Must be between
0 and 20.Percentage of network traffic flagged as anomalous by the IDS. Must be between
0.0 and 100.0.Number of hosts, workstations, or servers showing signs of compromise or impact. Must be between
0 and 500.Percentage of monitored endpoints that are fully patched and up to date. Must be between
0.0 and 100.0. A lower value increases the calculated risk score.Example Request
Example Response
Response Fields
Human-readable model identifier. Always
"CyberSentinel" for this endpoint.The top predicted severity label. One of:
| Label | Meaning |
|---|---|
CRITICO | Immediate containment required — highest risk composite score |
ALTO | Urgent response needed — significant exposure across multiple signals |
MEDIO | Elevated concern — investigate and remediate within the sprint |
BAJO | Minimal risk — continue monitoring and document evidence |
Probability assigned to the top predicted severity class, in the range
0.0 to 1.0.Probability distribution across all four severity labels, sorted in descending order of probability.
Targeted remediation actions generated from the predicted severity and the specific field values that crossed risk thresholds. Up to four recommendations may be returned; at least one is always present.
Echo of the validated request payload as parsed by Pydantic, suitable for SIEM ingestion or incident ticket enrichment.