New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@hakuna.cloud/oci-api-typescript

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hakuna.cloud/oci-api-typescript

A NodeJS wrapper for the Oracle Cloud Infrastructure API

latest
Source
npmnpm
Version
0.4.9
Version published
Maintainers
4
Created
Source

Implemented methods:

CORE

  • GetInstance
  • ListInstances
  • InstanceAction
  • ListVnicAttachments
  • GetVnic
  • ListImages

IAM

  • ListCompartments
  • ListAvailabilityDomains

Test

To test the API, create a test/data/testData.json file populated with the following content:

{
    "client": {
        "userID": "ocid1.user.oc1..xxx...",
        "fingerprint": "66:7yyy...",
        "tenantID": "ocid1.tenaxxx...",
        "zone": "eu-frankfurt-1",
        "key": "-----BEGIN RSA PRIVATE KEY-----..."
    },
    "testInstance": {
        "compartmentId": "ocid1.compartment.oc1..qqq...",
        "instanceId": "ocid1.instance.oc1.eu-frankfurt-1.www...",
        "vnicId": "ocid1.vnic.oc1.eu-frankfurt-1.eee..."
    }
}

Note that tests for POST APIs are skipped by default.

FAQs

Package last updated on 02 Jul 2019

Did you know?

Socket

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.

Install

Related posts