[filebeat][ABS] - Fix Input failing with Storage Blob Data Reader RBAC role#48886
[filebeat][ABS] - Fix Input failing with Storage Blob Data Reader RBAC role#48886ShourieG merged 2 commits intoelastic:mainfrom
Conversation
🤖 GitHub commentsJust comment with:
|
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
efd6
left a comment
There was a problem hiding this comment.
For the future (to bear in mind, not do anything now), can we construct a testing approach that would avoid the issues that caused this?
Yes definitely, the main reason it passed the initial testing was the propagation delay (upto 10 mins) that made the test seem to pass with the data reader permissions. Also lack of clear documentation at the time of development did not help. You can check the linked issue for a detailed reason on why this happened. |
|
@Mergifyio backport 8.19 9.2 9.3 |
✅ Backports have been createdDetails
|
…C role (#48886) [Fix] azure-blob-storage: Input failing with Storage Blob Data Reader RBAC role Remove `Tags: true` from the `ListBlobsInclude` options in the blob listing call. This option requires the `blobs/tags/read` DataAction, which is not granted by the Storage Blob Data Reader or Storage Blob Data Contributor RBAC roles, causing an AuthorizationPermissionMismatch error when using Entra ID (OAuth2) authentication. The blob index tags were never consumed by the input after being fetched, so removing this option has no functional impact. (cherry picked from commit c3c8af5)
…C role (#48886) [Fix] azure-blob-storage: Input failing with Storage Blob Data Reader RBAC role Remove `Tags: true` from the `ListBlobsInclude` options in the blob listing call. This option requires the `blobs/tags/read` DataAction, which is not granted by the Storage Blob Data Reader or Storage Blob Data Contributor RBAC roles, causing an AuthorizationPermissionMismatch error when using Entra ID (OAuth2) authentication. The blob index tags were never consumed by the input after being fetched, so removing this option has no functional impact. (cherry picked from commit c3c8af5)
|
Yeah, that's understood. I'm just wondering how we would avoid that in the future. |
…C role (#48886) [Fix] azure-blob-storage: Input failing with Storage Blob Data Reader RBAC role Remove `Tags: true` from the `ListBlobsInclude` options in the blob listing call. This option requires the `blobs/tags/read` DataAction, which is not granted by the Storage Blob Data Reader or Storage Blob Data Contributor RBAC roles, causing an AuthorizationPermissionMismatch error when using Entra ID (OAuth2) authentication. The blob index tags were never consumed by the input after being fetched, so removing this option has no functional impact. (cherry picked from commit c3c8af5)
I think having a terraform test bed in our integrations would help out a lot, like we have for AWS. We should also make it mandatory to test with various permission levels in that test bed. |
…C role (#48886) (#48910) [Fix] azure-blob-storage: Input failing with Storage Blob Data Reader RBAC role Remove `Tags: true` from the `ListBlobsInclude` options in the blob listing call. This option requires the `blobs/tags/read` DataAction, which is not granted by the Storage Blob Data Reader or Storage Blob Data Contributor RBAC roles, causing an AuthorizationPermissionMismatch error when using Entra ID (OAuth2) authentication. The blob index tags were never consumed by the input after being fetched, so removing this option has no functional impact. (cherry picked from commit c3c8af5) Co-authored-by: Shourie Ganguly <shourie.ganguly@elastic.co>
…C role (#48886) (#48911) [Fix] azure-blob-storage: Input failing with Storage Blob Data Reader RBAC role Remove `Tags: true` from the `ListBlobsInclude` options in the blob listing call. This option requires the `blobs/tags/read` DataAction, which is not granted by the Storage Blob Data Reader or Storage Blob Data Contributor RBAC roles, causing an AuthorizationPermissionMismatch error when using Entra ID (OAuth2) authentication. The blob index tags were never consumed by the input after being fetched, so removing this option has no functional impact. (cherry picked from commit c3c8af5) Co-authored-by: Shourie Ganguly <shourie.ganguly@elastic.co>
…C role (#48886) (#48912) [Fix] azure-blob-storage: Input failing with Storage Blob Data Reader RBAC role Remove `Tags: true` from the `ListBlobsInclude` options in the blob listing call. This option requires the `blobs/tags/read` DataAction, which is not granted by the Storage Blob Data Reader or Storage Blob Data Contributor RBAC roles, causing an AuthorizationPermissionMismatch error when using Entra ID (OAuth2) authentication. The blob index tags were never consumed by the input after being fetched, so removing this option has no functional impact. (cherry picked from commit c3c8af5) Co-authored-by: Shourie Ganguly <shourie.ganguly@elastic.co>
Type of change
Proposed commit message
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
AuthorizationPermissionMismatchwhen using Storage Blob Data Reader RBAC role #48890Use cases
Screenshots
Logs