Download OpenAPI specification:Download
Authenticate, exchanging credentials for a JWT token. The resulting token can be used in the Authorization header of other requests.
password required | string |
username required | string |
{- "password": "string",
- "username": "string"
}
{- "expiration": 0,
- "idToken": "string",
- "refreshToken": "string"
}
Get a page of Change Requests.
limit | integer |
nextPageKey | string |
{- "items": [
- {
- "createdAt": "string",
- "createdBy": "string",
- "id": "string",
- "name": "string",
- "parentPath": "string",
- "projectId": "string",
- "results": [
- {
- "boundaryAction": "Fail",
- "boundaryId": "string",
- "boundaryName": "string",
- "isMatch": true,
- "matchingRuleIds": [
- "string"
], - "message": "string",
- "platforms": [
- {
- "name": "string"
}
], - "score": 0,
- "state": "Error"
}
], - "rules": [
- {
- "action": "Allow",
- "comment": "string",
- "destinations": [
- {
- "negate": true,
- "type": "Any"
}
], - "expiration": "string",
- "id": "string",
- "justification": "string",
- "owner": "string",
- "services": [
- {
- "type": "AllICMPv4"
}
], - "sources": [
- {
- "negate": true,
- "type": "Any"
}
]
}
], - "score": 0,
- "state": "Error",
- "stateReason": "string",
- "updatedAt": "string",
- "updatedBy": "string"
}
], - "pageInfo": {
- "nextPageKey": "string"
}
}
Save a Change Request and start the asynchronous process of evaluation against all enforced Boundaries. If ID is specified, and a change request exists with that ID, the change request will be updated. Otherwise a new change request will be created.
required | object (ChangeRequestInput) | ||||||||
|
{- "input": {
- "id": "string",
- "name": "string",
- "projectId": "string",
- "rules": [
- {
- "action": "Allow",
- "comment": "string",
- "destinations": [
- {
- "negate": true,
- "type": "Any"
}
], - "expiration": "string",
- "id": "string",
- "justification": "string",
- "owner": "string",
- "services": [
- {
- "type": "AllICMPv4"
}
], - "sources": [
- {
- "negate": true,
- "type": "Any"
}
]
}
]
}
}
{- "createdAt": "string",
- "createdBy": "string",
- "id": "string",
- "name": "string",
- "parentPath": "string",
- "projectId": "string",
- "results": [
- {
- "boundaryAction": "Fail",
- "boundaryId": "string",
- "boundaryName": "string",
- "isMatch": true,
- "matchingRuleIds": [
- "string"
], - "message": "string",
- "platforms": [
- {
- "name": "string"
}
], - "score": 0,
- "state": "Error"
}
], - "rules": [
- {
- "action": "Allow",
- "comment": "string",
- "destinations": [
- {
- "negate": true,
- "type": "Any"
}
], - "expiration": "string",
- "id": "string",
- "justification": "string",
- "owner": "string",
- "services": [
- {
- "type": "AllICMPv4"
}
], - "sources": [
- {
- "negate": true,
- "type": "Any"
}
]
}
], - "score": 0,
- "state": "Error",
- "stateReason": "string",
- "updatedAt": "string",
- "updatedBy": "string"
}
Get a single Change Request by its ID.
id required | string |
{- "createdAt": "string",
- "createdBy": "string",
- "id": "string",
- "name": "string",
- "parentPath": "string",
- "projectId": "string",
- "results": [
- {
- "boundaryAction": "Fail",
- "boundaryId": "string",
- "boundaryName": "string",
- "isMatch": true,
- "matchingRuleIds": [
- "string"
], - "message": "string",
- "platforms": [
- {
- "name": "string"
}
], - "score": 0,
- "state": "Error"
}
], - "rules": [
- {
- "action": "Allow",
- "comment": "string",
- "destinations": [
- {
- "negate": true,
- "type": "Any"
}
], - "expiration": "string",
- "id": "string",
- "justification": "string",
- "owner": "string",
- "services": [
- {
- "type": "AllICMPv4"
}
], - "sources": [
- {
- "negate": true,
- "type": "Any"
}
]
}
], - "score": 0,
- "state": "Error",
- "stateReason": "string",
- "updatedAt": "string",
- "updatedBy": "string"
}
{- "items": [
- {
- "accountId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "alertWindow": 0,
- "checkId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "checkResult": {
- "operator": "Exclude",
- "values": [
- "Error"
]
}, - "cidr": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "cidrCount": 0,
- "createdAt": "string",
- "createdBy": "string",
- "description": "string",
- "environment": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "formats": [
- "PaloAltoIpAddress"
], - "id": "string",
- "jsonPath": {
- "jsonPaths": [
- {
- "expectedValue": "string",
- "operator": "Equality",
- "path": "string"
}
], - "operator": "Exclude"
}, - "memberCount": 0,
- "name": "string",
- "parentPath": "string",
- "parentProjectId": "string",
- "projectId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "region": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "severity": {
- "operator": "Exclude",
- "values": [
- 0
]
}, - "tags": {
- "operator": "Exclude",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "type": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "updateType": "Automatic",
- "updatedAt": "string",
- "updatedBy": "string",
- "vendor": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "vpcId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}
}
], - "pageInfo": {
- "nextPageKey": "string"
}
}
{- "accountId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "alertWindow": 0,
- "checkId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "checkResult": {
- "operator": "Exclude",
- "values": [
- "Error"
]
}, - "cidr": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "cidrCount": 0,
- "createdAt": "string",
- "createdBy": "string",
- "description": "string",
- "environment": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "formats": [
- "PaloAltoIpAddress"
], - "id": "string",
- "jsonPath": {
- "jsonPaths": [
- {
- "expectedValue": "string",
- "operator": "Equality",
- "path": "string"
}
], - "operator": "Exclude"
}, - "memberCount": 0,
- "name": "string",
- "parentPath": "string",
- "parentProjectId": "string",
- "projectId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "region": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "severity": {
- "operator": "Exclude",
- "values": [
- 0
]
}, - "tags": {
- "operator": "Exclude",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "type": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "updateType": "Automatic",
- "updatedAt": "string",
- "updatedBy": "string",
- "vendor": {
- "operator": "Exclude",
- "values": [
- "string"
]
}, - "vpcId": {
- "operator": "Exclude",
- "values": [
- "string"
]
}
}
Get a page of Inventory search results.
from | integer The number from which result items should start, used to page through results. For example: to get the first page
of 10 items, |
query | string Search query in the form Any of the top-level Multiple fields can be combined:
You can also perform full-text search by not specifying a field. Examples:
|
size | integer The number of items to include in the response. |
sort | string Sort the search results by the specified |
{- "items": [
- {
- "accountId": "string",
- "altId": "string",
- "clientId": "string",
- "cloudAccountEnv": "string",
- "cloudAccountId": "string",
- "cloudAccountLabels": [
- "string"
], - "cloudAccountName": "string",
- "eventId": "string",
- "eventIdentity": {
- "accessRequest": {
- "id": "string",
- "requester": "string",
- "template": {
- "id": "string",
- "name": "string"
}, - "templateId": "string"
}, - "display": "string",
- "raw": "string",
- "type": "string",
- "user": {
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "username": "string"
}
}, - "id": "string",
- "ip": [
- "string"
], - "ipRange": [
- "string"
], - "ips": [
- "string"
], - "item": "string",
- "name": "string",
- "parentPath": "string",
- "region": "string",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "type": "string",
- "typeName": "string",
- "updatedAt": "string",
- "vendor": "string"
}
], - "pageInfo": {
- "from": 0,
- "size": 0,
- "total": 0
}
}
Get a single inventory item by its accountId, region, type, and ID. For REST requests, you can use the path from the Cloud Defense or Connect apps:
App URLs:
https://app.defense.firemon.cloud/inventory/6253c4b0-8bed-4041-b522-e32df11de3c7/us-west-2/AWS%3A%3AEC2%3A%3AInstance/i-07114c5770f20ec9b
https://connect.firemon.cloud/inventory/6253c4b0-8bed-4041-b522-e32df11de3c7/us-west-2/AWS%3A%3AEC2%3A%3AInstance/i-07114c5770f20ec9b
REST API:
GET https://api.prod.firemon.cloud/inventory/6253c4b0-8bed-4041-b522-e32df11de3c7/us-west-2/AWS%3A%3AEC2%3A%3AInstance/i-07114c5770f20ec9b
accountId required | string The internal account UUID of the item (not the external/cloud account ID). |
id required | string The ID of the item. |
region required | string The region of the item (us-east-1, us-west-2, global, etc). |
type required | string The internal type name of the item (AWS::IAM::User, AWS::S3::Bucket, Microsoft.Storage.storageAccounts, etc). |
{- "accountId": "string",
- "altId": "string",
- "clientId": "string",
- "cloudAccountEnv": "string",
- "cloudAccountId": "string",
- "cloudAccountLabels": [
- "string"
], - "cloudAccountName": "string",
- "eventId": "string",
- "eventIdentity": {
- "accessRequest": {
- "id": "string",
- "requester": "string",
- "template": {
- "id": "string",
- "name": "string"
}, - "templateId": "string"
}, - "display": "string",
- "raw": "string",
- "type": "string",
- "user": {
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "username": "string"
}
}, - "id": "string",
- "ip": [
- "string"
], - "ipRange": [
- "string"
], - "ips": [
- "string"
], - "item": "string",
- "name": "string",
- "parentPath": "string",
- "region": "string",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "type": "string",
- "typeName": "string",
- "updatedAt": "string",
- "vendor": "string"
}