Delegate Access Control Onboarding Audit¶
This audit is the US-95 baseline for onboarding
github.com/oracle/oci-go-sdk/v65/delegateaccesscontrol before
services.yaml publishes the service.
Repo Input Status¶
go.modremains pinned togithub.com/oracle/oci-go-sdk/v65 v65.110.0.v65.110.0already contains thedelegateaccesscontrolpackage in the module cache; the repo lackedvendor/github.com/oracle/oci-go-sdk/v65/delegateaccesscontrolonly because nothing imported that package yet.pkg/sdkimports/rollout_services.gonow blank-importsgithub.com/oracle/oci-go-sdk/v65/delegateaccesscontrolsogo mod vendorkeeps the package in the branch-local inputs.
SDK Audit¶
DelegationControl¶
- Full CRUD family is present:
CreateDelegationControl,GetDelegationControl,ListDelegationControls,UpdateDelegationControl, andDeleteDelegationControl. - Additional mutator is present:
ChangeDelegationControlCompartment. GetDelegationControlResponse,CreateDelegationControlResponse, andUpdateDelegationControlResponsereturnDelegationControl.ListDelegationControlsResponsereturnsDelegationControlSummaryCollectionwith[]DelegationControlSummary.ListDelegationControlsRequestexposes requiredcompartmentId, pluslifecycleState,displayName,resourceType,resourceId, page, and sort controls.- Lifecycle states are
CREATING,ACTIVE,UPDATING,DELETING,DELETED,FAILED, andNEEDS_ATTENTION. - Create, update, delete, and change-compartment responses expose
OpcWorkRequestId; create and update also return the resource body. - The package also exposes service-local
GetWorkRequest,ListWorkRequests,ListWorkRequestErrors, andListWorkRequestLogshelpers.
Auxiliary Families¶
- Additional SDK-discovered families are
DelegatedResourceAccessRequest,DelegatedResourceAccessRequestAuditLogReport,DelegatedResourceAccessRequestHistory,DelegationControlResource,DelegationSubscription,ServiceProvider,ServiceProviderAction,ServiceProviderInteraction,WorkRequest,WorkRequestError, andWorkRequestLog. DelegationSubscriptionis also full CRUD, butDelegationControlis the requested first kind and is the top-level policy object that governs the request flow.
Generator Implications For US-102¶
DelegationControlis the requested initial kind and a viable first controller-backed surface.- Recommended
formalSpecisdelegationcontrol. - Recommended async classification is
workrequestwithworkRequest.source=service-sdkand phasescreate,update, anddelete. DelegationControllooks viable as a direct controller-backed generated rollout because GET/list expose lifecycle state and the SDK ships the service-local workrequest helpers needed to follow long-running mutations.US-102should still keep conditional fields explicit:resourceTypecurrently narrows the object toVMCLUSTERandCLOUDVMCLUSTER, and the vault-related fields are only valid forCLOUDVMCLUSTER.
Provider-Facts Coverage¶
formal/sources.lockpins provider facts togithub.com/oracle/terraform-provider-oci@eb653febb1bab4cc6650a96d404a8baf36fdf671.- Accessible provider docs confirm the singular data source
oci_delegate_access_control_delegation_control. - The provider resource-discovery guides also list
oci_delegate_access_control_delegation_controlas a discoverable resource type, which is enough to anchor the later published kind name and import path. - I did not locate a separate plural list data-source page in the accessible
provider docs, so
US-102should keep any list-import assumptions explicit if they matter to formal coverage.