1. A method of operating a communication network, comprising: obtaining a trust evaluation for a network element in the communication network; and invoking a service in response to the trust evaluation for the network element via an application programming interface (API) associated with the service.