Visualization resources
visualization/depmaps
DependencyMap
Returns a data structure representing the graph of all processing units
and their connections in a particular namespace, in a given time window. To pass
the time window you can use the query parameters startAbsolute, endAbsolute,
startRelative, endRelative.
For example:
Relations
Retrieves the dependency map of a namespace.
Parameters:
- viewSuggestions (boolean): Also return the view suggestions.
- endAbsolute (time): Set the absolute end of the time window.
- endRelative (duration): Set the relative end of the time window.
- startAbsolute (time): Set the absolute start of the time window.
- startRelative (duration): Set the relative start of the time window.
- flowOffset (duration): Deprecated. This does not do anything anymore.
Mandatory Parameters
(endRelative) or (startRelative) or (startRelative and endRelative) or (startRelative and endAbsolute) or (startAbsolute and endRelative) or (startAbsolute and endAbsolute)
Attributes
GraphEdge
Represents an edge from the dependency map.
Example
{ "acceptedFlows": false, "destinationType": "ProcessingUnit", "encrypted": false, "observedAcceptedFlows": false, "observedEncrypted": false, "observedRejectedFlows": false, "rejectedFlows": false, "sourceType": "ProcessingUnit" }
Relations
Retrieves the graph edges.
Parameters:
- endAbsolute (time): Set the absolute end of the time window.
- endRelative (duration): Set the relative end of the time window.
- startAbsolute (time): Set the absolute start of the time window.
- startRelative (duration): Set the relative start of the time window.
Mandatory Parameters
(endRelative) or (startRelative) or (startRelative and endRelative) or (startRelative and endAbsolute) or (startAbsolute and endRelative) or (startAbsolute and endAbsolute)
GraphGroup
Represents an group of nodes from the dependency map.
GraphNode
Represents an node from the dependency map.
Example
{ "type": "Docker", "unreachable": false }
Relations
Retrieves the pu nodes.
Parameters:
- endAbsolute (time): Set the absolute end of the time window.
- endRelative (duration): Set the relative end of the time window.
- startAbsolute (time): Set the absolute start of the time window.
- startRelative (duration): Set the relative start of the time window.
Mandatory Parameters
(endRelative) or (startRelative) or (startRelative and endRelative) or (startRelative and endAbsolute) or (startAbsolute and endRelative) or (startAbsolute and endAbsolute)
Attributes
Type of object represented by the node.
IPInfo
Provides information about IP address resolution.
Relations
Returns information about an IP address given as parameters.
Parameters:
Mandatory Parameters
PolicyGraph
Returns a data structure representing the policy graph of all selected
processing units and their possible connectivity based on the current policies
associated with the namespace. Users can define a selector of processing units
in which they are interested or define the identity tags of a virtual processing
unit that is not yet activated.
Example
{ "policyType": "Authorization", "selectors": [ [ "$identity=processingunit" ] ] }
Relations
Retrieve a policy graph.
Parameters:
Attributes
Type: []string
The set of tags that a future-activated processing unit will have for which the user
wants to evaluate policies and understand its connectivity options.
Type: dependencymap
Contains the output of the policy evaluation. It is the same type of dependency map
as created by other APIs.
Identifies the type of policy that should be analyzed: Authorization (default),
Infrastructure, or Combined.
Default value:
"Authorization"
Type: [][]string
Contains the tag expression that a processing unit must match in order to evaluate
policy for it.
SuggestedPolicy
Allows you to obtain network policy suggestions.
Relations
Retrieves a list of network policy suggestions.
Parameters:
- filterAction (enum(include | exclude)): Action to take with the filter tags.
- filterTags (string): Tags to filter in the policy suggestions.
- endAbsolute (time): Set the absolute end of the time window.
- endRelative (duration): Set the relative end of the time window.
- startAbsolute (time): Set the absolute start of the time window.
- startRelative (duration): Set the relative start of the time window.
- flowOffset (duration): Deprecated. This does not do anything anymore.
Mandatory Parameters
(endRelative) or (startRelative) or (startRelative and endRelative) or (startRelative and endAbsolute) or (startAbsolute and endRelative) or (startAbsolute and endAbsolute)
Attributes
visualization/metrics
MetricsQuery
Prometheus compatible endpoint to evaluate a Prometheus query expression at a
single instant or over a range of time. This can be used to retrieve back
Aporeto specific metrics for a given namespace. All queries are protected within
the namespace of the caller.
Example
{ "query": "flows{namespace=~\"/mycompany.*\"}", "time": "2015-07-01T20:11:00.781Z" }
Relations
Prometheus compatible endpoint to evaluate a Prometheus query expression at a
single instant or over a range of time.
This has the same behavior as the GET request, however it is useful when
specifying a large query that may breach server-side URL character limits. In
such a case, you can URL-encode the parameters that would be used for a GET
request directly in the request body by using the POST method and Content-Type:
application/x-www-form-urlencoded header.
MetricsQueryRange
Prometheus compatible endpoint to evaluate an expression query over a range of
time. This can be used to retrieve back Aporeto specific metrics for a given
namespace. All queries are protected within the namespace of the caller.
Example
{ "end": "2015-07-01T20:11:00.781Z", "query": "flows{namespace=~\"/mycompany.*\"}", "start": "2015-07-01T20:11:00.781Z", "step": "15s" }
Relations
Evaluates an expression query over a range of time returning a "matrix" result
type.
Parameters:
Mandatory Parameters
Evaluates an expression query over a range of time returning a "matrix" result.
This has the same behavior as the GET request, however it is useful when
specifying a large query that may breach server-side URL character limits. In
such a case, you can URL-encode the parameters that would be used for a GET
request directly in the request body by using the POST method and Content-Type:
application/x-www-form-urlencoded header.
visualization/reportsquery
ReportsQuery
Supports querying Aporeto reports. All queries are protected within the
namespace of the user.
Example
{ "report": "Flows" }
Relations
Sends a query on report data.
Parameters:
- endAbsolute (time): Set the absolute end of the time window.
- endRelative (duration): Set the relative end of the time window.
- startAbsolute (time): Set the absolute start of the time window.
- startRelative (duration): Set the relative start of the time window.
Mandatory Parameters
(endRelative) or (startRelative) or (startRelative and endRelative) or (startRelative and endAbsolute) or (startAbsolute and endRelative) or (startAbsolute and endAbsolute)
Attributes
Name of the report type to query.
Default value:
"Flows"
visualization/statsquery
StatsInfo
Lists the fields and tags available in a statistics measurement.
Example
{ "measurement": "Flows" }
Relations
Retrieves information about the content of the stats measurement.
Attributes
Name of the measurement.
Default value:
"Flows"
StatsQuery
Retrieves time-series data stored by the Microsegmentation Console.
Allows different types of queries that are all protected within
the namespace of the user.
Example
{ "descending": false, "limit": -1, "measurement": "Flows", "offset": -1 }
Relations
Sends a query on statistical data.
Parameters:
- endAbsolute (time): Set the absolute end of the time window.
- endRelative (duration): Set the relative end of the time window.
- startAbsolute (time): Set the absolute start of the time window.
- startRelative (duration): Set the relative start of the time window.
Mandatory Parameters
(endRelative) or (startRelative) or (startRelative and endRelative) or (startRelative and endAbsolute) or (startAbsolute and endRelative) or (startAbsolute and endAbsolute)
Attributes
Type: []string
List of fields to extract. If you don’t pass anything, all available fields will
be returned. It is also possible to use a function like sum(value).
Name of the measurement.
Default value:
"Flows"
TimeSeriesQueryResults
Represent the results of a stats query.
Attributes
TimeSeriesRow
Represents a time-series row.
Attributes
Most Popular
Recommended For You
Recommended Videos
Recommended videos not found.