-
Notifications
You must be signed in to change notification settings - Fork 87
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
Panic Error on Public IP Scan #268
Comments
Ok that means that the initial issue parsing the ARG query results was fixed. Now you are hitting something related to an IP which seems that is not returning a value for its type, and that is very strange. Can you please check if there is at least one row without a type as a result of running the following command? resources
| where type =~ 'Microsoft.Network/publicIPAddresses'
| project name, type You can also try running just azqr scan pip -s to run a targeted scan for this test. |
Hello, Regards, |
Hello, 2024-11-04T14:47:25+01:00 INF Scanning subscriptions/...c8cb590 for Microsoft.App/managedenvironments goroutine 19383 [running]: Regards, |
Hello, 2024-11-04T15:00:29+01:00 DBG all 100 workers are running. Sleeping for 4 seconds to avoid throttling goroutine 3921 [running]: Regards, |
@red-erik can you download and run a targeted pip scan with the binary form here: https://github.com/Azure/azqr/actions/runs/11687084396 and check if it's fixed? |
Hi There, 2024-11-06T08:02:06+01:00 DBG all 100 workers are running. Sleeping for 4 seconds to avoid throttling Regards, |
Hello,
the tool worked for a long time than I received:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xf8e8a5]
goroutine 17643 [running]:
github.com/Azure/azqr/internal/scanners/pip.(*PublicIPScanner).Scan(0xc0003882d0, 0xc02e4bad80)
D:/a/azqr/azqr/internal/scanners/pip/pip.go:45 +0x225
github.com/Azure/azqr/internal.Scanner.retry({}, 0x3, 0x0?, {0x1bd3a48, 0xc0003882d0}, 0xc02e4bad80)
D:/a/azqr/azqr/internal/scanner.go:237 +0x103
github.com/Azure/azqr/internal.Scanner.Scan.func1({0x1bd3a48?, 0xc0003882d0?})
D:/a/azqr/azqr/internal/scanner.go:181 +0x5c
created by github.com/Azure/azqr/internal.Scanner.Scan in goroutine 1
D:/a/azqr/azqr/internal/scanner.go:180 +0xc87
I'll run it again with debug option
Regards,
Red.
The text was updated successfully, but these errors were encountered: