File tree Expand file tree Collapse file tree
python/semantic_kernel/connectors/openapi_plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717DEFAULT_ALLOWED_SCHEME = "https"
1818
1919# Azure instance metadata service (WireServer). Unlike the AWS/GCP equivalents, this
20- # address is publicly routable, so it would otherwise pass the private-address checks.
20+ # address is publicly routable, so it would otherwise pass the private-address checks:
21+ # 168.63.129.16 has is_private=False and is_link_local=False, so no generic rule
22+ # catches it - not even after NAT64 decoding (64:ff9b::a83f:8110 decodes to exactly
23+ # this address and would sail through the private/link-local branches). The explicit
24+ # entry below is therefore load-bearing, not redundant with the range checks; do not
25+ # remove it on the assumption that "the private-address branch already covers Azure
26+ # metadata".
2127_AZURE_WIRE_SERVER = ipaddress .ip_address ("168.63.129.16" )
2228_AZURE_WIRE_SERVER_CATEGORY = "Azure metadata (WireServer)"
2329
You can’t perform that action at this time.
0 commit comments