Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding of results resourceId and resourceGroupName #2460

Closed
BernieWhite opened this issue Oct 3, 2023 · 0 comments · Fixed by #2471
Closed

Binding of results resourceId and resourceGroupName #2460

BernieWhite opened this issue Oct 3, 2023 · 0 comments · Fixed by #2471
Labels
bug Something isn't working feature: in-flight-export Issues that related to exporting resource data for in-flight analysis.
Milestone

Comments

@BernieWhite
Copy link
Collaborator

Existing rule

No response

Description of the issue

Detailed output from in-flight in returning an empty resourceId and resourceGroupName field.

Error messages

No response

Reproduction

Invoke-PSRule -m psrule.rules.azure -f .\export02\ -as Detail `
  | Select-Object TargetName, RuleName, Ref, @{ Name = 'Severity'; Expression = { $_.Info.Annotations.severity } }, @{ Name = 'ResourceGroup'; Expression = { $_.Field.resourceGroupName } } `
  | ConvertTo-Csv

Version of PSRule

2.9.0

Version of PSRule for Azure

1.29.0

Additional context

See microsoft/PSRule#1625

@BernieWhite BernieWhite added bug Something isn't working feature: in-flight-export Issues that related to exporting resource data for in-flight analysis. labels Oct 3, 2023
@BernieWhite BernieWhite modified the milestones: v1.30.1, v1.30.2 Oct 3, 2023
BernieWhite added a commit to BernieWhite/PSRule.Rules.Azure that referenced this issue Oct 7, 2023
BernieWhite added a commit that referenced this issue Oct 7, 2023
@BernieWhite BernieWhite mentioned this issue Oct 7, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature: in-flight-export Issues that related to exporting resource data for in-flight analysis.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant