swh.vulns.grpc.swhvulns_pb2_grpc module#

Client and server classes corresponding to protobuf-defined services.

class swh.vulns.grpc.swhvulns_pb2_grpc.VulnerabilityServiceStub(channel)[source]#

Bases: object

Vulnerability annotation service

Constructor.

Parameters:

channel – A grpc.Channel.

class swh.vulns.grpc.swhvulns_pb2_grpc.VulnerabilityServiceServicer[source]#

Bases: object

Vulnerability annotation service

AffectingVulnerabilities(request, context)[source]#

Given a revision’s SWHID, returns what vulnerabilities affect it

swh.vulns.grpc.swhvulns_pb2_grpc.add_VulnerabilityServiceServicer_to_server(servicer, server)[source]#
class swh.vulns.grpc.swhvulns_pb2_grpc.VulnerabilityService[source]#

Bases: object

Vulnerability annotation service

static AffectingVulnerabilities(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)[source]#