Integrations Context
Returns an array of context integrations.
List of Context Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/integrations/context HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"id": "text",
"created": "text",
"lastupdated": "text",
"allOf": {
"name": "text",
"type": "aws",
"enabled": true,
"updateinterval": 86400,
"aws": {
"region": "us-east-1",
"tags": [
"tag1",
"tag2"
],
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"azure": {
"clientid": "text",
"clientsecret": "text",
"subscriptionid": "text",
"tenantid": "text",
"tags": [
"tag1",
"tag2"
]
},
"crowdstrike": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"crowdstrikediscover": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"ibm": {
"apikey": "text",
"region": "text"
},
"oracle": {
"user": "text",
"tenancy": "text",
"region": "text",
"tags": [
"tag1",
"tag2"
]
},
"gcp": {
"zone": "text",
"credentials": {
"type": "service_account",
"project_id": "text",
"private_key_id": "text",
"private_key": "text",
"client_email": "text",
"client_id": "text",
"auth_uri": "text",
"token_uri": "text",
"auth_provider_x509_cert_url": "text",
"client_x509_cert_url": "text"
},
"labels": [
"label1",
"label2"
]
},
"s3": {
"region": "us-east-1",
"bucket": "text",
"path": "text",
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"sentinelone": {
"base_url": "text",
"params": {
"accountId": "text",
"filterId": "text"
},
"token": "text",
"ranger": {
"enabled": true
}
},
"wiz": {
"apiendpoint": "https://api.us1.app.wiz.io/graphql",
"tokenurl": "https://auth.app.wiz.io/oauth/token",
"clientid": "text",
"clientsecret": "text"
}
}
}
]
}Creates a context integration from the data that's been supplied. Do not provide an id. IDs are auto generated
List of Context Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
The name of the context integration
The type of the context integration. The configuration parameters are dependent on this value.
The state of the context integration. Whether to auto update or not.
The number of seconds by which to poll the integration.
86400List of Context Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
POST /api/v1/integrations/context HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1449
{
"name": "text",
"type": "aws",
"enabled": true,
"updateinterval": 86400,
"aws": {
"region": "us-east-1",
"tags": [
"tag1",
"tag2"
],
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"azure": {
"clientid": "text",
"clientsecret": "text",
"subscriptionid": "text",
"tenantid": "text",
"tags": [
"tag1",
"tag2"
]
},
"crowdstrike": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"crowdstrikediscover": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"ibm": {
"apikey": "text",
"region": "text"
},
"oracle": {
"user": "text",
"tenancy": "text",
"region": "text",
"tags": [
"tag1",
"tag2"
]
},
"gcp": {
"zone": "text",
"credentials": {
"type": "service_account",
"project_id": "text",
"private_key_id": "text",
"private_key": "text",
"client_email": "text",
"client_id": "text",
"auth_uri": "text",
"token_uri": "text",
"auth_provider_x509_cert_url": "text",
"client_x509_cert_url": "text"
},
"labels": [
"label1",
"label2"
]
},
"s3": {
"region": "us-east-1",
"bucket": "text",
"path": "text",
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"sentinelone": {
"base_url": "text",
"params": {
"accountId": "text",
"filterId": "text"
},
"token": "text",
"ranger": {
"enabled": true
}
},
"wiz": {
"apiendpoint": "https://api.us1.app.wiz.io/graphql",
"tokenurl": "https://auth.app.wiz.io/oauth/token",
"clientid": "text",
"clientsecret": "text"
}
}{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"id": "text",
"created": "text",
"lastupdated": "text",
"allOf": {
"name": "text",
"type": "aws",
"enabled": true,
"updateinterval": 86400,
"aws": {
"region": "us-east-1",
"tags": [
"tag1",
"tag2"
],
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"azure": {
"clientid": "text",
"clientsecret": "text",
"subscriptionid": "text",
"tenantid": "text",
"tags": [
"tag1",
"tag2"
]
},
"crowdstrike": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"crowdstrikediscover": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"ibm": {
"apikey": "text",
"region": "text"
},
"oracle": {
"user": "text",
"tenancy": "text",
"region": "text",
"tags": [
"tag1",
"tag2"
]
},
"gcp": {
"zone": "text",
"credentials": {
"type": "service_account",
"project_id": "text",
"private_key_id": "text",
"private_key": "text",
"client_email": "text",
"client_id": "text",
"auth_uri": "text",
"token_uri": "text",
"auth_provider_x509_cert_url": "text",
"client_x509_cert_url": "text"
},
"labels": [
"label1",
"label2"
]
},
"s3": {
"region": "us-east-1",
"bucket": "text",
"path": "text",
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"sentinelone": {
"base_url": "text",
"params": {
"accountId": "text",
"filterId": "text"
},
"token": "text",
"ranger": {
"enabled": true
}
},
"wiz": {
"apiendpoint": "https://api.us1.app.wiz.io/graphql",
"tokenurl": "https://auth.app.wiz.io/oauth/token",
"clientid": "text",
"clientsecret": "text"
}
}
}
]
}Fetches a specific context integration from the ID supplied in the path.
The ID of the context integration to be returned.
List of Context Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/integrations/context/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"created": "text",
"lastupdated": "text",
"allOf": {
"name": "text",
"type": "aws",
"enabled": true,
"updateinterval": 86400,
"aws": {
"region": "us-east-1",
"tags": [
"tag1",
"tag2"
],
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"azure": {
"clientid": "text",
"clientsecret": "text",
"subscriptionid": "text",
"tenantid": "text",
"tags": [
"tag1",
"tag2"
]
},
"crowdstrike": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"crowdstrikediscover": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"ibm": {
"apikey": "text",
"region": "text"
},
"oracle": {
"user": "text",
"tenancy": "text",
"region": "text",
"tags": [
"tag1",
"tag2"
]
},
"gcp": {
"zone": "text",
"credentials": {
"type": "service_account",
"project_id": "text",
"private_key_id": "text",
"private_key": "text",
"client_email": "text",
"client_id": "text",
"auth_uri": "text",
"token_uri": "text",
"auth_provider_x509_cert_url": "text",
"client_x509_cert_url": "text"
},
"labels": [
"label1",
"label2"
]
},
"s3": {
"region": "us-east-1",
"bucket": "text",
"path": "text",
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"sentinelone": {
"base_url": "text",
"params": {
"accountId": "text",
"filterId": "text"
},
"token": "text",
"ranger": {
"enabled": true
}
},
"wiz": {
"apiendpoint": "https://api.us1.app.wiz.io/graphql",
"tokenurl": "https://auth.app.wiz.io/oauth/token",
"clientid": "text",
"clientsecret": "text"
}
}
}
}Update a context integration given the provided object. This does not do a diff. You must send the complete object.
The ID of the context integration to be updated
List of Context Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
The name of the context integration
The type of the context integration. The configuration parameters are dependent on this value.
The state of the context integration. Whether to auto update or not.
The number of seconds by which to poll the integration.
86400List of Context Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/integrations/context/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1449
{
"name": "text",
"type": "aws",
"enabled": true,
"updateinterval": 86400,
"aws": {
"region": "us-east-1",
"tags": [
"tag1",
"tag2"
],
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"azure": {
"clientid": "text",
"clientsecret": "text",
"subscriptionid": "text",
"tenantid": "text",
"tags": [
"tag1",
"tag2"
]
},
"crowdstrike": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"crowdstrikediscover": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"ibm": {
"apikey": "text",
"region": "text"
},
"oracle": {
"user": "text",
"tenancy": "text",
"region": "text",
"tags": [
"tag1",
"tag2"
]
},
"gcp": {
"zone": "text",
"credentials": {
"type": "service_account",
"project_id": "text",
"private_key_id": "text",
"private_key": "text",
"client_email": "text",
"client_id": "text",
"auth_uri": "text",
"token_uri": "text",
"auth_provider_x509_cert_url": "text",
"client_x509_cert_url": "text"
},
"labels": [
"label1",
"label2"
]
},
"s3": {
"region": "us-east-1",
"bucket": "text",
"path": "text",
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"sentinelone": {
"base_url": "text",
"params": {
"accountId": "text",
"filterId": "text"
},
"token": "text",
"ranger": {
"enabled": true
}
},
"wiz": {
"apiendpoint": "https://api.us1.app.wiz.io/graphql",
"tokenurl": "https://auth.app.wiz.io/oauth/token",
"clientid": "text",
"clientsecret": "text"
}
}{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"created": "text",
"lastupdated": "text",
"allOf": {
"name": "text",
"type": "aws",
"enabled": true,
"updateinterval": 86400,
"aws": {
"region": "us-east-1",
"tags": [
"tag1",
"tag2"
],
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"azure": {
"clientid": "text",
"clientsecret": "text",
"subscriptionid": "text",
"tenantid": "text",
"tags": [
"tag1",
"tag2"
]
},
"crowdstrike": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"crowdstrikediscover": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"ibm": {
"apikey": "text",
"region": "text"
},
"oracle": {
"user": "text",
"tenancy": "text",
"region": "text",
"tags": [
"tag1",
"tag2"
]
},
"gcp": {
"zone": "text",
"credentials": {
"type": "service_account",
"project_id": "text",
"private_key_id": "text",
"private_key": "text",
"client_email": "text",
"client_id": "text",
"auth_uri": "text",
"token_uri": "text",
"auth_provider_x509_cert_url": "text",
"client_x509_cert_url": "text"
},
"labels": [
"label1",
"label2"
]
},
"s3": {
"region": "us-east-1",
"bucket": "text",
"path": "text",
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"sentinelone": {
"base_url": "text",
"params": {
"accountId": "text",
"filterId": "text"
},
"token": "text",
"ranger": {
"enabled": true
}
},
"wiz": {
"apiendpoint": "https://api.us1.app.wiz.io/graphql",
"tokenurl": "https://auth.app.wiz.io/oauth/token",
"clientid": "text",
"clientsecret": "text"
}
}
}
}Deletes a context integration
The ID of the context integration to be deleted
An empty array
No content
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
DELETE /api/v1/integrations/context/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Runs the specified context integration. Retuns a list of ip labels that would be imported when the context integration is run.
The ID of the context integration to be test run.
List of IP Labels Requested
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/integrations/context/{id}/run HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"ip": "10.250.0.1",
"context": "name",
"labels": [
"name1",
"name2"
]
}
]
}Runs the specified context integration. Returns a list of ip labels that were imported.
The ID of the context integration to be test run.
List of IP Labels Requested
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/integrations/context/{id}/run HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"ip": "10.250.0.1",
"context": "name",
"labels": [
"name1",
"name2"
]
}
]
}Only applicable to Oracle Cloud.
String ID of the role to get
List of Context Integrations Requested, or an array containing the new/updated Context Integration after a Create or Update operation.
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/integrations/context/{id}/regenkeys HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"created": "text",
"lastupdated": "text",
"allOf": {
"name": "text",
"type": "aws",
"enabled": true,
"updateinterval": 86400,
"aws": {
"region": "us-east-1",
"tags": [
"tag1",
"tag2"
],
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"azure": {
"clientid": "text",
"clientsecret": "text",
"subscriptionid": "text",
"tenantid": "text",
"tags": [
"tag1",
"tag2"
]
},
"crowdstrike": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"crowdstrikediscover": {
"clientid": "text",
"clientsecret": "text",
"cloud": "us-1",
"filter": "text",
"sort": "text"
},
"ibm": {
"apikey": "text",
"region": "text"
},
"oracle": {
"user": "text",
"tenancy": "text",
"region": "text",
"tags": [
"tag1",
"tag2"
]
},
"gcp": {
"zone": "text",
"credentials": {
"type": "service_account",
"project_id": "text",
"private_key_id": "text",
"private_key": "text",
"client_email": "text",
"client_id": "text",
"auth_uri": "text",
"token_uri": "text",
"auth_provider_x509_cert_url": "text",
"client_x509_cert_url": "text"
},
"labels": [
"label1",
"label2"
]
},
"s3": {
"region": "us-east-1",
"bucket": "text",
"path": "text",
"awsauthtype": "AccessKey",
"accesskeyid": "text",
"accesssecret": "text",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
}
},
"sentinelone": {
"base_url": "text",
"params": {
"accountId": "text",
"filterId": "text"
},
"token": "text",
"ranger": {
"enabled": true
}
},
"wiz": {
"apiendpoint": "https://api.us1.app.wiz.io/graphql",
"tokenurl": "https://auth.app.wiz.io/oauth/token",
"clientid": "text",
"clientsecret": "text"
}
}
}
}Last updated