Skip to main content

Create VPC - IBM COS

Create a VPC from the supplied object. Do NOT submit an ID. IDs are auto generated and immutable.

External Documentation

To learn more, visit the Netography documentation.

Basic Parameters

ParameterDescription
API KeyIBM COS API key that is associated for the Service ID.
Bucket NameCOS Bucket Name.
Log Path PrefixFlow Log Path Prefix.
NameThe name of the VPC. Eg. prod-vpc-east.
RegionLocation of the flow source.
Service Instance IDUnique identifier for the instance of Object Storage the credential accesses. This is also referred to as a service credential.

Advanced Parameters

ParameterDescription
EnabledIf this VPC is enabled or disabled.
SamplerateThe sample rate of flows this VPC will send. Between 1 and 65535.
TagsAn array of strings to tag every flow from this VPC with.

Example Output

{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"awsauthtype": "RoleARN",
"accesskeyid": "AKIAJITERGTEHETGETHN",
"accesssecret": "JH2zVMpqTwrbrthrtherthrthtYppyarw1u",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
},
"shardid": "shardId-000000000000",
"stream": "flowlogstream"
},
{
"awsauthtype": "RoleARN",
"accesskeyid": "AKIAJITERGTEHETGETHN",
"accesssecret": "JH2zVMpqTwrbrthrtherthrthtYppyarw1u",
"role": {
"arn": "arn:aws:iam::464179634201:role/Extension"
},
"bucket": "flowlogs",
"bucketregion": "us-east-1",
"prefix": "AWSLogs/123456/vpcflowlogs/us-east-1/",
"sqsurl": "https://sqs.us-east-1.amazonaws.com/123456/flowlogs"
},
{
"accountname": "securitygroupdiag",
"accountkey": "45KiBH8ErtaU5jBLUsP3zow6XyA11fqLeUeSrQ==",
"containername": "insights-logs-networksecuritygroupflowevent",
"networksecuritygroup": "NSG1",
"resourcegroup": "SEC-USA-GROUP",
"subscriptionid": "45DD9999-Q333-22BB-33AA-A0000F000C00"
},
{
"projectid": "security-235d",
"subid": "ggl-sec-netography-test-id",
"samplepercent": 0
},
{
"apikey": "qSsdZPS7nCupBBEH9r83-0QswQrTrhT13Os1S",
"bucket": "flowlogs",
"prefix": "folder",
"serviceinstanceid": "crn:v1:bluemix:public:cloud-object-storage:global:a/d05b00aeabbe4f578d3c4e83a6c82f62:9f95b4c8-f29a-4360-b326-560e2dbca522::"
},
{
"bucket": "oci-logs._flowlogs.ocid1.tenancy.oc1..aaaaaaaawho6ghbcze3r7oxlqjciqwo233cmwf4weryty4eb3ypgyzhuq",
"tenancy": "ocid1.tenancy.oc1..aaaaaaaawho6ghbcze3r7oxlqjciqwrergf46fqnfppyv4eb3ypgyzhuq",
"userid": "ocid1.user.oc1..aaaaaaaahvu26nhp2io7bujstpdk6drgrgtoxdfvpz3dxfc4hsy4sp2q",
"prefix": "folder"
}
]
}

Workflow Library Example

Create Vpc Ibm Cos with Netography and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop