
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@dynatrace-sdk/client-platform-management-service
Advanced tools
[](https://www.npmjs.com/package/@dynatrace-sdk/client-platform-management-service/v/1.1.0) [](https://opensource.org/licenses/Apache-2
npm install @dynatrace-sdk/client-platform-management-service
This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.
Full API reference for the latest version of the SDK is also available at the Dynatrace Developer.
import { effectivePermissionsClient } from '@dynatrace-sdk/client-platform-management-service';
Get the effective permissions of the calling user in the environment
One of the following scopes is required:
This endpoint resolves the requested permissions based on the auth token used to call this endpoint. It resolves the permission via IAM and uses the provided context to evaluate conditional results. For 2nd gen environment API v2 scopes (i.e. scopes starting with environment-api:) 2nd gen roles on the environment and management zone level will also be considered.
Name | Type |
---|---|
config.body*required | ResolutionRequest |
Success
import { effectivePermissionsClient } from "@dynatrace-sdk/client-platform-management-service";
const data =
await effectivePermissionsClient.resolveEffectivePermissions(
{ body: { permissions: [{ permission: "..." }] } },
);
import { environmentInformationClient } from '@dynatrace-sdk/client-platform-management-service';
Get basic environment information
One of the following scopes is required:
Get basic information about the current environment.
Info about the requested environment.
import { environmentInformationClient } from "@dynatrace-sdk/client-platform-management-service";
const data =
await environmentInformationClient.getEnvironmentInformation();
import { environmentSettingsClient } from '@dynatrace-sdk/client-platform-management-service';
Get settings for the environment
One of the following scopes is required:
Gets settings for environment.
The settings for the requested environment
import { environmentSettingsClient } from "@dynatrace-sdk/client-platform-management-service";
const data =
await environmentSettingsClient.getEnvironmentSettings();
import { licenseInformationClient } from '@dynatrace-sdk/client-platform-management-service';
Get basic license information
One of the following scopes is required:
Get basic license information about the current environment.
The license info of the requested environment.
import { licenseInformationClient } from "@dynatrace-sdk/client-platform-management-service";
const data = await licenseInformationClient.getLicense();
Get basic license settings information
One of the following scopes is required:
Get basic license settings information about the current environment
Name | Type |
---|---|
config.keys | Array<string> |
The license settings info of the requested environment.
import { licenseInformationClient } from "@dynatrace-sdk/client-platform-management-service";
const data =
await licenseInformationClient.getLicenseSettings();
Name | Type |
---|---|
granted*required | EffectivePermissionGranted |
permission*required | string |
extends Array<EffectivePermission>
Name | Type | Description |
---|---|---|
[unscopables]*required | Object | Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement. |
length*required | number | Gets or sets the length of the array. This is a number one higher than the highest index in the array. |
Name | Type |
---|---|
blockTime | Date |
createTime*required | Date |
environmentId*required | string |
state*required | EnvironmentState |
type*required | EnvironmentInfoType |
Standard error response
Name | Type |
---|---|
code*required | number |
message*required | string |
Name | Type |
---|---|
platformSubscription*required | boolean |
trial*required | boolean |
Name | Type |
---|---|
key*required | string |
value*required | string |
Name | Type |
---|---|
settings*required | Array<LicenseSetting> |
Name | Type |
---|---|
key*required | string |
value*required | string |
Name | Type |
---|---|
permissions*required | Array<SinglePermissionRequest> |
Name | Type | Description |
---|---|---|
chatEnabled*required | boolean | |
countryCode | string | ISO3166-1 alpha-2 two letter country code. See: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 |
Optional generic set of context data
Name | Type |
---|---|
context | Array<PermissionContext> |
permission*required | string |
true: The caller has the permission false: The caller does not have the permission condition: The caller conditionally has the permission or in case of scopes starting with 'environment-api:' the caller only has the permission for specific management zones.
Condition
| False
| True
Customer
| Internal
| SelfMonitoring
Active
| BeingCreated
| BeingDeleted
| Blocked
| Deactivated
| DeletionFailed
| PreAllocated
FAQs
[](https://www.npmjs.com/package/@dynatrace-sdk/client-platform-management-service/v/1.7.0) [](https://opensource.org/licenses/Apache-2
The npm package @dynatrace-sdk/client-platform-management-service receives a total of 2,129 weekly downloads. As such, @dynatrace-sdk/client-platform-management-service popularity was classified as popular.
We found that @dynatrace-sdk/client-platform-management-service demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.