Create one manual asset
Record created!
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Record Not Found
Internal server error
Response Code: 412
You must accept the Drata terms and conditions to use the API
{- "name": "Asset name",
- "description": "This is a description",
- "notes": "This is a note",
- "assetClassTypes": [
- "HARDWARE",
- "PERSONNEL"
], - "assetType": "PHYSICAL",
- "ownerId": 1,
- "uniqueId": "C02T6CDJGTFL",
- "removedAt": "2020-07-06 12:00:00.000000",
- "externalId": "i-0c844e3b433e4e3f",
- "externalOwnerId": "account-353"
}
{- "id": 1,
- "name": "MacbookPro 13",
- "description": "MacbookPro 13",
- "assetType": "PHYSICAL",
- "assetProvider": "AGENT",
- "approvedAt": "2020-07-06 12:00:00.000000",
- "removedAt": "2020-07-06 12:00:00.000000",
- "assetClassTypes": "AssetClassTypeResponseDto[]",
- "company": "Acme, Inc",
- "owner": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "jobTitle": "CEO",
- "drataTermsAgreedAt": "2020-07-06 12:00:00.000000",
- "createdAt": "2020-07-06 12:00:00.000000",
- "updatedAt": "2020-07-06 12:00:00.000000",
- "roles": [
- "ROLE",
- "ANOTHER_ROLE"
], - "backgroundChecks": [
- {
- "id": 1,
- "userId": 1,
- "status": "OK",
- "caseId": "abc123",
- "caseInvitationId": "abc123",
- "manualCheckDate": "2020-07-06",
- "manuallyCheckUrl": "url.com",
- "type": "CERTN",
- "source": "DRATA",
- "reportData": "string",
- "user": { },
- "outOfScopeReason": "abc123",
- "outOfScopeAt": "2020-07-06 12:00:00.000000",
- "linkedAt": "2020-07-06 12:00:00.000000",
- "createdAt": "2020-07-06 12:00:00.000000",
- "updatedAt": "2020-07-06 12:00:00.000000"
}
], - "identities": [
- {
- "id": 1,
- "identityId": "1a2b3c",
- "username": "Username",
- "connectedAt": "2020-07-06 12:00:00.000000",
- "disconnectedAt": "2020-07-06 12:00:00.000000",
- "hasMfa": true,
- "user": { },
- "connection": {
- "id": "1",
- "clientType": "GOOGLE",
- "state": "ACTIVE",
- "connected": false,
- "connectedAt": "2020-07-06 12:00:00.000000",
- "failedAt": "2020-07-06 12:00:00.000000",
- "companyId": "12341234",
- "assignmentId": "FLk12AsS",
- "user": { },
- "accountId": "string",
- "clientId": "drata.com",
- "clientAlias": "My-connection-alias-1",
- "manuallyUpdatedAt": "2020-07-06 12:00:00.000000",
- "aliasUpdatedAt": "2020-07-06 12:00:00.000000",
- "deletedAt": "2020-07-06 12:00:00.000000",
- "requestorId": "328d3016-71f3-4485-af20-06ce8044da18",
- "product": "",
- "writeAccessEnabled": false,
- "sourcePreference": "LABEL",
- "securityLabel": "Jira Security Label",
- "jqlQuery": "project = IT AND type = \"Offboarding\"",
- "authorized": true,
- "workspaces": [
- {
- "id": 1,
- "name": "Drata",
- "description": "Platform to track SOC 2 compliance within the organization",
- "howItWorks": null,
- "primary": true
}
], - "providerTypes": [
- 5
], - "code": "ACCOUNT_ADMIN_DISABLED",
- "groupLabel": "Everyone"
}, - "hasIdp": true
}
]
}, - "employmentStatus": "CURRENT_EMPLOYEE",
- "notes": "string",
- "assetReferenceType": "PERSONNEL",
- "uniqueId": "C02T6CDJGTFL",
- "createdAt": "2020-07-06 12:00:00.000000",
- "updatedAt": "2020-07-06 12:00:00.000000",
- "device": {
- "id": 1,
- "osVersion": "MacOS 10.15.6",
- "serialNumber": "C02T6CDJGTFL",
- "model": "MacBook Pro",
- "screenLockTime": "60",
- "agentVersion": "1.0",
- "macAddress": "65-F9-3D-85-7B-6B,99-A9-3E-14-7A-3E",
- "admins": "Admin A",
- "processor": "Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz",
- "memory": "17179869184",
- "hddSize": "1TB",
- "graphics": "RTX 3080",
- "encryptionEnabled": false,
- "firewallEnabled": true,
- "gateKeeperEnabled": false,
- "lastCheckedAt": "2020-07-06 12:00:00.000000",
- "sourceType": "AGENT",
- "createdAt": "2020-07-06 12:00:00.000000",
- "updatedAt": "2020-07-06 12:00:00.000000",
- "deletedAt": "2020-07-06 12:00:00.000000",
- "appsCount": 20,
- "complianceChecks": [ ],
- "identifiers": [ ],
- "documents": [ ],
- "isDeviceCompliant": false
}, - "externalId": "i-0c844e3b433e4e3f",
- "externalOwnerId": "account-353"
}