The response returned when counting findings without a team tag by ownership confidence.
Expand All
항목
유형
설명
data [required]
object
The data wrapper for an ownership untagged findings response.
attributes [required]
object
The counts of findings without a team tag by ownership confidence.
high_confidence [required]
int64
The number of high confidence findings without a team tag.
low_confidence [required]
int64
The number of low confidence findings without a team tag.
medium_confidence [required]
int64
The number of medium confidence findings without a team tag.
total [required]
int64
The total number of findings without a team tag.
id [required]
string
The identifier of the ownership untagged findings resource.
type [required]
enum
The type of the ownership untagged findings resource. The value should always be ownership_untagged_findings.
Allowed enum values: ownership_untagged_findings
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"python3"example.py"
# Count untagged findings by ownership confidence returns "OK" responserequire"datadog_api_client"DatadogAPIClient.configuredo|config|config.access_token=ENV["DD_BEARER_TOKEN"]config.unstable_operations["v2.get_ownership_untagged_findings".to_sym]=trueendapi_instance=DatadogAPIClient::V2::CSMOwnershipAPI.newpapi_instance.get_ownership_untagged_findings()
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"rb"example.rb"
// Count untagged findings by ownership confidence returns "OK" responsepackagemainimport("context""encoding/json""fmt""os""github.com/DataDog/datadog-api-client-go/v2/api/datadog""github.com/DataDog/datadog-api-client-go/v2/api/datadogV2")funcmain(){ctx:=datadog.NewDefaultContext(context.Background())ctx=context.WithValue(ctx,datadog.ContextAccessToken,os.Getenv("DD_BEARER_TOKEN"))configuration:=datadog.NewConfiguration()configuration.SetUnstableOperationEnabled("v2.GetOwnershipUntaggedFindings",true)apiClient:=datadog.NewAPIClient(configuration)api:=datadogV2.NewCSMOwnershipApi(apiClient)resp,r,err:=api.GetOwnershipUntaggedFindings(ctx)iferr!=nil{fmt.Fprintf(os.Stderr,"Error when calling `CSMOwnershipApi.GetOwnershipUntaggedFindings`: %v\n",err)fmt.Fprintf(os.Stderr,"Full HTTP response: %v\n",r)}responseContent,_:=json.MarshalIndent(resp,""," ")fmt.Fprintf(os.Stdout,"Response from `CSMOwnershipApi.GetOwnershipUntaggedFindings`:\n%s\n",responseContent)}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"go run"main.go"
// Count untagged findings by ownership confidence returns "OK" responseimportcom.datadog.api.client.ApiClient;importcom.datadog.api.client.ApiException;importcom.datadog.api.client.v2.api.CsmOwnershipApi;importcom.datadog.api.client.v2.model.OwnershipUntaggedFindingsResponse;publicclassExample{publicstaticvoidmain(String[]args){ApiClientdefaultClient=ApiClient.getDefaultApiClient();defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN"));defaultClient.setUnstableOperationEnabled("v2.getOwnershipUntaggedFindings",true);CsmOwnershipApiapiInstance=newCsmOwnershipApi(defaultClient);try{OwnershipUntaggedFindingsResponseresult=apiInstance.getOwnershipUntaggedFindings();System.out.println(result);}catch(ApiExceptione){System.err.println("Exception when calling CsmOwnershipApi#getOwnershipUntaggedFindings");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace();}}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"java"Example.java"
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_API_KEY="<API-KEY>"DD_APP_KEY="<APP-KEY>"cargo run
/**
* Count untagged findings by ownership confidence returns "OK" response
*/import{client,v2}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration({authMethods:{AuthZ:{accessToken: process.env.DD_BEARER_TOKENasstring,},},});configuration.unstableOperations["v2.getOwnershipUntaggedFindings"]=true;constapiInstance=newv2.CSMOwnershipApi(configuration);apiInstance.getOwnershipUntaggedFindings().then((data: v2.OwnershipUntaggedFindingsResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"tsc"example.ts"
맞춤형 데모 요청
Datadog 시작하기
Ask AI
AI-generated responses may be inaccurate. Verify important info.