Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contrast/config

Package Overview
Dependencies
Maintainers
9
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/config - npm Package Compare versions

Comparing version 1.28.3 to 1.29.0

9

lib/index.d.ts

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc