Please further limit read access to some properties of the deviceHealthScript resource
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- azure, powershell
- Área
- api, authorization, security
Línea de trabajo
Comienza con la documentación vinculada del recurso deviceHealthScript y la referencia de permisos de Microsoft Graph. Evalúa el app role propuesto con el mínimo privilegio y el comportamiento del acceso a nivel de propiedad para detectionScriptContent y remediationScriptContent. Se considera completado cuando se especifica y documenta la restricción de acceso solicitada o una alternativa.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello,
We are creating an audit tool to identify risks in some Microsoft systems, including Intune. As part of that work, we are looking at auditing risks surrounding various resource types, including deviceHealthScript resources.
The deviceHealthScript resource type includes these two properties:
- detectionScriptContent
- remediationScriptContent
Those properties' values are base64-encoded PowerShell scripts.
This is problematic because our experience has been that PowerShell scripts often contain sensitive material such as credentials. When we deploy our software to our customers, we ask them to create an Entra application and grant the application the least privilege required to read information relevant to how we identify risks. Our product is a SaaS product, so the customer's data winds up in our infrastructure.
We can of course control our data collection software to filter out the detectionScriptContent and remediationScriptContent field values before the data is sent to our SaaS instance. But we would prefer, if possible, to be able to select a least-privilege MS Graph app role that can list deviceHealthScript objects, but cannot read the detectionScriptContent and remediationScriptContent field values. We believe this would be the most effective change to limit the risks we ourselves are creating for our customers.
The two MS Graph app roles that enable reading deviceHealthScript resources are:
- DeviceManagementConfiguration.Read.All
- DeviceManagementConfiguration.ReadWrite.All
Perhaps a possible solution could be to add a new MS Graph app role called:
- DeviceManagementConfiguration.ReadBasic.All
And then constrain access to reading property values on deviceHealthScript objects such that the detectionScriptContent and remediationScriptContent fields cannot be read when presenting a JWT with only that permission. This would function similarly to the existing User.ReadBasic.All MS Graph app role: https://learn.microsoft.com/en-us/graph/permissions-reference#userreadbasicall
Thank you for your consideration.
- Lenguaje dominante
- XSLT
- Estrellas
- 171
- Forks
- 56
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 9
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoftgraph/msgraph-metadata
-
ToTriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
microsoftgraph/msgraph-metadata#1217 ·
Los mantenedores suelen responder en 2 días
-
ToTriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoftgraph/msgraph-metadata#1192 ·
Los mantenedores suelen responder en 2 días
-
ToTriage
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
microsoftgraph/msgraph-metadata#1233 ·
Los mantenedores suelen responder en 2 días
-
`microsoft.graph.managedDevice` is missing a filter restrictions annotation.Posiblemente ocupada @esidorenko-sl la tomó hace 86 días. AbiertoToTriage
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
microsoftgraph/msgraph-metadata#1193 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
ToTriage
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
microsoftgraph/msgraph-metadata#1169 · 1 reacción ·
Los mantenedores suelen responder en 2 días
Todos los issues de microsoftgraph/msgraph-metadata
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
matomo-org/plugin-CustomAlerts#310 ·
Los mantenedores suelen responder en 1 día
-
A CSV row that removes a language with #CLEAR and fills another name of it keeps one of themAbiertobug level:trivial
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
exoego/keycloak-fuhito#666 ·
Los mantenedores suelen responder en 1 día
-
bug size:small
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fb55/htmlparser2#2579 ·
Los mantenedores suelen responder en 1 día