| Name | Type | Description | Notes |
|---|---|---|---|
| authMode | AuthModeEnum | The authentication mode to use when accessing this upstream. | [optional] |
| authSecret | String | Secret to provide with requests to upstream. | [optional] |
| authUsername | String | Username to provide with requests to upstream. | [optional] |
| extraHeader1 | String | The key for extra header #1 to send to upstream. | [optional] |
| extraHeader2 | String | The key for extra header #2 to send to upstream. | [optional] |
| extraValue1 | String | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] |
| extraValue2 | String | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] |
| isActive | Boolean | Whether or not this upstream is active and ready for requests. | [optional] |
| mode | ModeEnum | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] |
| name | String | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | |
| priority | java.math.BigInteger | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] |
| trustLevel | TrustLevelEnum | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [optional] |
| upstreamUrl | String | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | |
| verifySsl | Boolean | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional] |
| Name | Value |
|---|---|
| NONE | "None" |
| USERNAME_AND_PASSWORD | "Username and Password" |
| Name | Value |
|---|---|
| PROXY_ONLY | "Proxy Only" |
| CACHE_AND_PROXY | "Cache and Proxy" |
| Name | Value |
|---|---|
| TRUSTED | "Trusted" |
| UNTRUSTED | "Untrusted" |