Skip to content

Create Upload Url

codegurusecurity_create_upload_url R Documentation

Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource

Description

Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource.

You can upload your code resource to the URL with the request headers using any HTTP client.

Usage

codegurusecurity_create_upload_url(scanName)

Arguments

scanName

[required] The name of the scan that will use the uploaded resource. CodeGuru Security uses the unique scan name to track revisions across multiple scans of the same resource. Use this scanName when you call create_scan on the code resource you upload to this URL.

Value

A list with the following syntax:

list(
  codeArtifactId = "string",
  requestHeaders = list(
    "string"
  ),
  s3Url = "string"
)

Request syntax

svc$create_upload_url(
  scanName = "string"
)