Resource Types and Permissions of Inventory

Review the table that provides a list of Oracle Cloud Migrations inventory resource types and associated permissions.

You can write a policy with a <verb> <resource-type> statement for each of the individual resource types.

Resource Type Permissions
ocb-inventory
  • OCB_INVENTORY_INSPECT
  • OCB_INVENTORY_CREATE
  • OCB_INVENTORY_READ
  • OCB_INVENTORY_UPDATE
  • OCB_INVENTORY_DELETE
ocb-inventory-asset
  • OCB_INVENTORY_ASSET_INSPECT
  • OCB_INVENTORY_ASSET_CREATE
  • OCB_INVENTORY_ASSET_READ
  • OCB_INVENTORY_ASSET_UPDATE
  • OCB_INVENTORY_ASSET_DELETE
  • OCB_INVENTORY_ASSET_UPSERT
  • OCB_INVENTORY_ASSET_METRIC_UPDATE
  • OCB_INVENTORY_ASSET_COMPARTMENT_MOVE
  • OCB_INVENTORY_ASSET_UPDATE_TAGS
ocb-workrequests
  • OCB_WORKREQUEST_INSPECT
  • OCB_WORKREQUEST_READ
  • OCB_WORKREQUEST_DELETE

Details About Verb + Resource Type Combinations of Asset Inventory

Review the permissions and API operations covered by each verb for the inventory resources.

The level of access is cumulative as you go from inspect to read to use to manage. A plus sign (+) in a table cell indicates incremental access when compared to the preceding cell.

For information about granting access, see Permissions.

ocb-inventory

This table lists the permissions and the APIs that are fully covered by the permissions, for the ocb-inventory resource.

Verbs Permissions APIs Covered Description
inspect OCB_INVENTORY_INSPECT ListInventories List all inventories in a compartment.
read

inspect+

OCB_INVENTORY_READ

inspect+

GetInventory

Get an inventory.

use

read+

OCB_INVENTORY_UPDATE

read+

UpdateInventory

Update an inventory.

manage

use+

OCB_INVENTORY_CREATE

use+

CreateInventory

Create an inventory.

manage

use+

OCB_INVENTORY_DELETE

use+

DeleteInventory

Delete a specific inventory.
ocb-inventory-asset

This table lists the permissions and the APIs that are fully covered by the permissions, for the ocb-inventory-asset resource.

Verbs Permissions APIs Covered Description
inspect OCB_INVENTORY_ASSET_INSPECT

ListAssets

AnalyzeAssets

List all assets for an inventory.

Analyze all assets for an inventory.

read

inspect+

OCB_INVENTORY_ASSET_READ

inspect+

GetAsset

ListHistoricalMetrics

Get assets for an inventory.

Get historical metric data of assets.

use

read+

OCB_INVENTORY_ASSET_METRIC_UPDATE

read+

SubmitHistoricalMetrics

Save historical metric data of assets.

use

read+

OCB_INVENTORY_ASSET_COMPARTMENT_MOVE

read+

ChangeAssetCompartment

Move a specific asset source to another compartment.

use

read+

OCB_INVENTORY_ASSET_UPDATE_TAGS

read+

UpdateAssetTags

Add tags to a specific asset source.

use

read+

OCB_INVENTORY_ASSET_UPSERT

read+

ImportInventory

Import assets for inventory.
manage

use+

OCB_INVENTORY_ASSET_CREATE

use+

CreateAsset

Create an asset source.

manage

use+

OCB_INVENTORY_ASSET_UPDATE

use+

UpdateAsset

Update an asset source.

manage

use+

OCB_INVENTORY_ASSET_DELETE

use+

DeleteAsset

Delete an asset source.
ocb-workrequests

This table lists the permissions and the APIs that are fully covered by the permissions, for the ocb-workrequests resource.

Verbs Permissions APIs Covered Description
inspect OCB_WORKREQUEST_INSPECT ListWorkRequests List all work requests in a compartment.
read

inspect+

OCB_WORKREQUEST_READ

inspect+

GetWorkRequest

ListWorkRequestErrors

ListWorkRequestLogs

Get the status of the work requests with the given identifier.

List the work request errors.

List the work request logs.