Sign inSign up

rapid7/insightvm_content_service

By rapid7

•Updated 7 days ago

Base image for the Rapid7 InsightVM Content Service.

Image
0

10K+

rapid7/insightvm_content_service repository overview

⁠Base image for the Rapid7 InsightVM Content Service.

This document describes the InsightVM Content Service.

⁠InsightVM Content Service Overview

By default the service does not load all resources into memory. Instead, the service will load and cache resources as they are requested. Response times can fluctuate as requested resources are loaded and cached, and response times will be different if a requested resource is cached versus when a requested resource is loaded and cached.

⁠System Resource Recommendations

Requests per SecondUnique VulnerabilitiesCoresMemory
1 - 6,0000 - 20,0001500MB
1 - 6,00020,001 - 50,0001750MB
1 - 6,00050,001 - 100,00011GB
1 - 6,000100,001 +11.5GB
1 - 12,0000 - 20,0002500MB
1 - 12,00050,000 - 50,0002750MB
1 - 12,000100,000 - 100,00021GB
1 - 12,000100,001 +21.5GB
1 - 24,0000 - 20,0004500MB
1 - 24,00050,000 - 50,0004750MB
1 - 24,000100,000 - 100,00041GB
1 - 24,000100,001 +41.5GB

⁠System Resource Requirement Estimations

⁠CPU Utilization Estimation
CPUMeasured Performance at Full Load
AMD EPYC 75716,000 requests per second per core
Intel(R) Xeon(R) Platinum 8124M @ 3.00GHz8,000 requests per second per core
⁠Memory Utilization Estimation
Resources CachedMeasured Memory Usage
10%324MB
25%494MB
50%779MB
75%1064MB
100%1348MB

Memory utilization will grow over time as new content is added. The size of requested resources will influence memory utilization.

⁠Disk Utilization Estimation
Image Size
300MB - 400MB

Disk utilization will grow over time as new content is added.

The service will read from disk when a resource is not cached. The amount and size of reads from disk will decrease as resources are cached until no more reads from disk are required.

⁠Bandwidth Utilization Estimation
  • Minimum The amount of traffic if the smallest resource was requested in all requests.
  • Average The amount of traffic if an average size resource was requested in all requests.
  • Minimum The amount of traffic if the largest resource was requested in all requests.
  • BPS Bytes Per Second
  • KBPS Kilobytes Per Second
  • KBPS Megabytes Per Second
⁠Solutions
Requests per SecondMinimumAverageMaximum
1148 BPS875 BPS534 KBPS
⁠Vulnerabilities
Requests per SecondMinimumAverageMaximum
1360 BPS1 KBPS210 KBPS

⁠Network Requirements

⁠Listens on specified network port(s)
  • 8081/TCP

The InsightVM Content Service container listens on TCP port 8081 at runtime for HTTP client communication. The port is not published by default. To publish the port when running the container, use the -p flag on docker run to publish and map one or more ports, or the -P flag to publish all exposed ports and map them to high-order ports.

⁠InsightVM Content Service Application Programming Interface (API) Overview

This section describes the InsightVM Content Service Application Programming Interface (API) Version 1. Unless noted otherwise this API accepts and produces the application/xml media type.

⁠Versioning

Versioning is specified in the URL and the base path of this API is: http://<host>:<port>/api/<version>/

⁠Resources

⁠Instances

An instance resource is a "leaf" level resource that may be retrieved, optionally nested within a collection resource. Instance resources are usually retrievable with opaque identifiers.

The resource path for instance resources follows the convention: /api/1/{resource_name}/{instance_id}

⁠Verbs

The following HTTP operations are supported throughout this API. The general usage of the operation and both its failure and success status codes are outlined below.

VerbUsageSuccessFailure
GETUsed to retrieve a resource by identifier, or a collection of resources by type.200404, 403, 500

⁠Instance Resources

⁠GET

Retrieves the details of a specific resource by its identifier. The details retrieved can be controlled through property selection and property views. The content of the resource is returned within the body of the response in the acceptable media type.

⁠Responses

The following response statuses may be returned by this API.

StatusMeaningUsage
200OKThe operation performed without error according to the specification of the request, and no more specific 2xx code is suitable.
403ForbiddenThe resource exists to which the user has access, but the operating requested is not permitted.
404Not FoundThe resource specified could not be located, does not exist, or an unauthenticated client does not have permissions to a resource.
500Internal Server ErrorAn internal and unexpected error has occurred on the server at no fault of the client.

⁠InsightVM Content Service Application Programming Interface (API)

⁠Solution

⁠GET /api/1/solutions/{id}

Returns the details for a solution that can remediate one or more vulnerabilities.

⁠Path Parameters
Path ParameterDescription
idThe identifier of the solution.
⁠Responses
StatusMeaningUsage
200OKThe operation performed without error according to the specification of the request, and no more specific 2xx code is suitable.
403ForbiddenThe resource exists to which the user has access, but the operating requested is not permitted.
404Not FoundThe resource specified could not be located, does not exist, or an unauthenticated client does not have permissions to a resource.
500Internal Server ErrorAn internal and unexpected error has occurred on the server at no fault of the client.

⁠Vulnerability

⁠GET /api/1/vulnerabilities/{id}

Returns the details for a vulnerability.

⁠Path Parameters
Path ParameterDescription
idThe identifier of the vulnerability.
⁠Responses
StatusMeaningUsage
200OKThe operation performed without error according to the specification of the request, and no more specific 2xx code is suitable.
403ForbiddenThe resource exists to which the user has access, but the operating requested is not permitted.
404Not FoundThe resource specified could not be located, does not exist, or an unauthenticated client does not have permissions to a resource.
500Internal Server ErrorAn internal and unexpected error has occurred on the server at no fault of the client.

Tag summary

Content type

Image

Digest

sha256:32b0ef8bd…

Size

494.5 MB

Last updated

7 days ago

docker pull rapid7/insightvm_content_service