ADM Onboarding Audit¶
This audit is the US-84 baseline for onboarding
github.com/oracle/oci-go-sdk/v65/adm 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 theadmpackage in the module cache; the repo lackedvendor/github.com/oracle/oci-go-sdk/v65/admonly because nothing imported that package yet.pkg/sdkimports/rollout_services.gonow blank-importsgithub.com/oracle/oci-go-sdk/v65/admsogo mod vendorkeeps the package in the branch-local inputs.
SDK Audit¶
KnowledgeBase¶
- Full CRUD family is present:
CreateKnowledgeBase,GetKnowledgeBase,ListKnowledgeBases,UpdateKnowledgeBase, andDeleteKnowledgeBase. - Additional mutator is present:
ChangeKnowledgeBaseCompartment. GetKnowledgeBaseResponsereturnsKnowledgeBase.ListKnowledgeBasesResponsereturnsKnowledgeBaseCollection.ListKnowledgeBasesRequestexposesid,compartmentId,displayName, andlifecycleState, plus page and sort controls.- Lifecycle states are
CREATING,ACTIVE,UPDATING,FAILED,DELETING, andDELETED. CreateKnowledgeBaseResponse,UpdateKnowledgeBaseResponse, andDeleteKnowledgeBaseResponseall exposeOpcWorkRequestId.- The CRUD responses do not project a
KnowledgeBasebody, so the selected kind depends on the service-local work-request APIs to recover or confirm the resource after mutations.
Auxiliary Families¶
- Additional SDK-discovered families are
ApplicationDependencyRecommendation,ApplicationDependencyVulnerability,RemediationRecipe,RemediationRun,Stage,Vulnerability,VulnerabilityAudit,WorkRequest,WorkRequestError, andWorkRequestLog. RemediationRecipe,RemediationRun, andVulnerabilityAuditeach carry a full CRUD surface.Stage, the application-dependency families,Vulnerability, and the work-request families are read, list, or workflow auxiliaries and should stay unpublished initially.
Generator Implications For US-86¶
KnowledgeBaseis the cleanest first published kind because the broader ADM workflow families build on top of knowledge-base state and add more specific orchestration semantics.- Recommended
formalSpecisknowledgebase. - Recommended async classification is
workrequestwithworkRequest.source=service-sdkand phasescreate,update, anddelete. KnowledgeBasestill looks viable as a direct controller-backed generated rollout without handwritten runtime work because the service ships the fullGetWorkRequest,ListWorkRequests,ListWorkRequestErrors, andListWorkRequestLogssurface needed by the shared generated work-request seam.RemediationRecipe,RemediationRun,Stage,VulnerabilityAudit, and the work-request auxiliaries should stay unpublished initially while the firstKnowledgeBaserollout lands.
Provider-Facts Coverage¶
formal/sources.lockpins provider facts togithub.com/oracle/terraform-provider-oci@eb653febb1bab4cc6650a96d404a8baf36fdf671.- Matching provider surfaces are
oci_adm_knowledge_baseas both the resource and singular data source, plusoci_adm_knowledge_basesas the list data source. - The provider
oci_adm_knowledge_baseresource waits onGetWorkRequestandListWorkRequestErrorsfor create, update, delete, and compartment-change flows, which matches the recommendedasync.strategy=workrequestbaseline.