Path queries from URL to Hostname not supported #2579
Labels
bug
Something isn't working
octopoes
Issues related to octopoes
😸 Review/QA feedback
Review/QA feedback provided
tech-debt
Milestone
When creating a URL object, a hostname object will be created with a reference via web_url.
We create a URL object having:
URL|internet|http://mispo.es/
as primary key this will be the source pathThen. we need the web_url which will reveal the HostnameHTTPURL props which results in:
[
{
"object_type": "HostnameHTTPURL",
"scan_profile": null,
"primary_key": "HostnameHTTPURL|http|internet|mispo.es|80|/",
"network": "Network|internet",
"scheme": "http",
"port": 80,
"path": "/",
"netloc": "Hostname|internet|mispo.es"
}
]
From here we need to continue querying down the line using the netloc to get the Hostname primary_key
From this point we cannot continue with the path using
URL.web_url.netloc
error logs:
![image](https://private-user-images.githubusercontent.com/30832687/308994566-d5d7c0ae-af47-44ae-ab61-e3befe5fd078.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTE4NTgsIm5iZiI6MTczOTU1MTU1OCwicGF0aCI6Ii8zMDgzMjY4Ny8zMDg5OTQ1NjYtZDVkN2MwYWUtYWY0Ny00NGFlLWFiNjEtZTNiZWZlNWZkMDc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE2NDU1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyNGUwN2MxYzhhOGU5MWMxYmNjZDQwOWY2MzU5ZGVmYmJjMGU2OTVjYWE2NTk4MTIzZGIzZTQwYjI1OGYyZjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DOXsMiA0y013-hOVXNzcQqQx9akgja79STdrKzhl5_Q)
The text was updated successfully, but these errors were encountered: