Skip to content

Commit 46d6036

Browse files
Fixes feature controls and access control for SIEM and lists plugin
1 parent fce4b1b commit 46d6036

35 files changed

+36
-36
lines changed

x-pack/plugins/lists/server/routes/create_endpoint_list_item_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const createEndpointListItemRoute = (router: IRouter): void => {
2121
router.post(
2222
{
2323
options: {
24-
tags: ['access:lists'],
24+
tags: ['access:lists-all'],
2525
},
2626
path: ENDPOINT_LIST_ITEM_URL,
2727
validate: {

x-pack/plugins/lists/server/routes/create_endpoint_list_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const createEndpointListRoute = (router: IRouter): void => {
2626
router.post(
2727
{
2828
options: {
29-
tags: ['access:lists'],
29+
tags: ['access:lists-all'],
3030
},
3131
path: ENDPOINT_LIST_URL,
3232
validate: false,

x-pack/plugins/lists/server/routes/create_exception_list_item_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const createExceptionListItemRoute = (router: IRouter): void => {
2222
router.post(
2323
{
2424
options: {
25-
tags: ['access:lists'],
25+
tags: ['access:lists-all'],
2626
},
2727
path: EXCEPTION_LIST_ITEM_URL,
2828
validate: {

x-pack/plugins/lists/server/routes/create_exception_list_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const createExceptionListRoute = (router: IRouter): void => {
2121
router.post(
2222
{
2323
options: {
24-
tags: ['access:lists'],
24+
tags: ['access:lists-all'],
2525
},
2626
path: EXCEPTION_LIST_URL,
2727
validate: {

x-pack/plugins/lists/server/routes/create_list_index_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const createListIndexRoute = (router: IRouter): void => {
1717
router.post(
1818
{
1919
options: {
20-
tags: ['access:lists'],
20+
tags: ['access:lists-all'],
2121
},
2222
path: LIST_INDEX,
2323
validate: false,

x-pack/plugins/lists/server/routes/create_list_item_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const createListItemRoute = (router: IRouter): void => {
1717
router.post(
1818
{
1919
options: {
20-
tags: ['access:lists'],
20+
tags: ['access:lists-all'],
2121
},
2222
path: LIST_ITEM_URL,
2323
validate: {

x-pack/plugins/lists/server/routes/create_list_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const createListRoute = (router: IRouter): void => {
1717
router.post(
1818
{
1919
options: {
20-
tags: ['access:lists'],
20+
tags: ['access:lists-all'],
2121
},
2222
path: LIST_URL,
2323
validate: {

x-pack/plugins/lists/server/routes/delete_endpoint_list_item_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const deleteEndpointListItemRoute = (router: IRouter): void => {
2121
router.delete(
2222
{
2323
options: {
24-
tags: ['access:lists'],
24+
tags: ['access:lists-all'],
2525
},
2626
path: ENDPOINT_LIST_ITEM_URL,
2727
validate: {

x-pack/plugins/lists/server/routes/delete_exception_list_item_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const deleteExceptionListItemRoute = (router: IRouter): void => {
2121
router.delete(
2222
{
2323
options: {
24-
tags: ['access:lists'],
24+
tags: ['access:lists-all'],
2525
},
2626
path: EXCEPTION_LIST_ITEM_URL,
2727
validate: {

x-pack/plugins/lists/server/routes/delete_exception_list_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const deleteExceptionListRoute = (router: IRouter): void => {
2121
router.delete(
2222
{
2323
options: {
24-
tags: ['access:lists'],
24+
tags: ['access:lists-all'],
2525
},
2626
path: EXCEPTION_LIST_URL,
2727
validate: {

0 commit comments

Comments
 (0)