List all incoming process connections using API

Not sure if this is what you are look for, I think you can get that by using entities API.

entitySelector  query:

type(HOST),toRelationships.isProcessOf(type(PROCESS_GROUP_INSTANCE),toRelationships.isNetworkClientOf(type(PROCESS_GROUP_INSTANCE),softwareTechnologies(MICROSOFT_SQL_SERVER))

This will bring all host that have any PROCESS_GROUP_INSTANCE talking to any SQL Server PROCESS_GROUP_INSTANCES.

Curl example:

curl -X 'GET' \<br>'[dynatrace_url]/api/v2/entities?entitySelector=type(HOST),toRelationships.isProcessOf(type(PROCESS_GROUP_INSTANCE),toRelationships.isNetworkClientOf(type(PROCESS_GROUP_INSTANCE),softwareTechnologies(MICROSOFT_SQL_SERVER)))' \<br>-H 'accept: application/json; charset=utf-8' \<br>-H 'Authorization: Api-Token dt0c01.XXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

Same query can be used in auto-tagging rule or management zone.