Skip to content

Commit

Permalink
[Security Solution][Entity Analytics] Mark Risk Score Calculation rou…
Browse files Browse the repository at this point in the history
…te as internal (#168720)

## Summary

We don't have a specific need to release this publicly for now, so we're
going to keep it internal until we have need for it.


This is a followup to #167365,
which made this route public in the first place.
  • Loading branch information
rylnd authored Oct 13, 2023
1 parent 326ef31 commit 07c2236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ export const riskScoreCalculationRoute = (router: SecuritySolutionPluginRouter,
router.versioned
.post({
path: RISK_SCORE_CALCULATION_URL,
access: 'public',
access: 'internal',
options: {
tags: ['access:securitySolution', `access:${APP_ID}-entity-analytics`],
},
})
.addVersion(
{
version: '2023-10-31',
version: '1',
validate: { request: { body: buildRouteValidation(riskScoreCalculationRequestSchema) } },
},
async (context, request, response) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default ({ getService }: FtrProviderContext): void => {
const { body: result } = await supertest
.post(RISK_SCORE_CALCULATION_URL)
.set('kbn-xsrf', 'true')
.set('elastic-api-version', '2023-10-31')
.set('elastic-api-version', '1')
.send(body)
.expect(200);
return result;
Expand Down

0 comments on commit 07c2236

Please sign in to comment.