@contrast/config
Advanced tools
Comparing version 1.28.3 to 1.29.0
@@ -20,6 +20,6 @@ /* | ||
export interface EffectiveEntry { | ||
export interface EffectiveEntry<T> { | ||
canonical_name: string; | ||
name: string; | ||
value: any; | ||
value: T; | ||
source: ConfigSource; | ||
@@ -57,3 +57,3 @@ } | ||
_filepath: string; | ||
_effectiveMap: Map<EffectiveEntry>; | ||
_effectiveMap: Map<string, EffectiveEntry<any>>; | ||
_errors: Error[]; | ||
@@ -218,2 +218,3 @@ _status: string, | ||
analyze_libraries: boolean; | ||
gather_metadata_via: 'AWS' | 'Azure' | 'GCP' | undefined; | ||
}; | ||
@@ -298,2 +299,4 @@ | ||
version?: string; | ||
/** Default: `true` */ | ||
discover_cloud_resource: boolean; | ||
}; | ||
@@ -300,0 +303,0 @@ getEffectiveSource(cannonicalName: string): any; |
@@ -498,2 +498,8 @@ /* | ||
}, | ||
{ | ||
name: 'inventory.gather_metadata_via', | ||
arg: '<provider>', | ||
enum: ['AWS', 'Azure', 'GCP'], | ||
desc: 'Specifies the cloud provider from which the agent should gather metadata (such as resource identifiers). Options are `AWS`, `Azure`, or `GCP`' | ||
}, | ||
// assess | ||
@@ -617,3 +623,3 @@ { | ||
name: 'application.metadata', | ||
args: '<metadata>', | ||
arg: '<metadata>', | ||
desc: 'comma-separated list of key=value pairs that are applied to each application reported by the agent.', | ||
@@ -654,2 +660,9 @@ }, | ||
}, | ||
{ | ||
name: 'server.discover_cloud_resource', | ||
arg: '[false]', | ||
default: true, | ||
fn: castBoolean, | ||
desc: 'Set to `false` to disable detection of cloud provider metadata such as resource identifiers.' | ||
}, | ||
].map((opt) => Object.assign(opt, { | ||
@@ -656,0 +669,0 @@ env: `CONTRAST__${opt.name.toUpperCase().replaceAll('.', '__') |
{ | ||
"name": "@contrast/config", | ||
"version": "1.28.3", | ||
"version": "1.29.0", | ||
"description": "An API for discovering Contrast agent configuration data", | ||
@@ -20,5 +20,5 @@ "license": "SEE LICENSE IN LICENSE", | ||
"dependencies": { | ||
"@contrast/common": "1.21.3", | ||
"@contrast/common": "1.22.0", | ||
"yaml": "^2.2.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46166
1276
+ Added@contrast/common@1.22.0(transitive)
- Removed@contrast/common@1.21.3(transitive)
Updated@contrast/common@1.22.0