Created
November 27, 2018 14:41
-
-
Save jfrantz1-r7/6a95ee4e50ec844952dbd6e2999a3bf2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT da.ip_address, da.host_name, dos.name AS OS, dos.version AS os_version, das.port, dp.name AS protocol, ds.name AS service, dsf.name AS service_name, dsf.version AS service_version | |
FROM dim_asset_service das | |
JOIN dim_service ds USING (service_id) | |
JOIN dim_protocol dp USING (protocol_id) | |
JOIN dim_asset da USING (asset_id) | |
JOIN dim_operating_system dos USING (operating_system_id) | |
JOIN dim_service_fingerprint dsf USING (service_fingerprint_id) | |
ORDER BY da.ip_address, das.port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment