Skip to content

Releases: oracle/oci-cli

2.4.22

04 May 17:28
2bfd5d8

Choose a tag to compare

Added

  • Support for returning event-name in logs extracted from Audit Service. (oci audit event list)

  • Support for multiple hostnames per listener in Load Balancer Service. An example can be found on Github (oci lb hostname and oci lb listener create --hostname-names)

  • Support for FastConnect service. New commands as mentioned below are added:

    • oci network cross-connect-group
    • oci network cross-connect
    • oci network cross-connect-location
    • oci network cross-connect-port-speed-shape
    • oci network cross-connect-status
    • oci network fast-connect-provider-service
    • oci network virtual-circuit
    • oci network virtual-circuit-public-prefix

Fixed

  • Multiple OCI CLI installation issues as specified below:

    • Corrected usage of --accept-all-defaults to prevent an infinite loop.
    • An issue which causes failure of OCI CLI installations in non-default directories.
    • An issue related to download of virtualenv package on Windows instances.

2.4.21

20 Apr 15:57
0ce8142

Choose a tag to compare

Added

  • Support for the following features for the Database service:
    • Tagging support for the following resources
      • Update database (oci db database update --defined-tags --freeform-tags)
      • Launch and update database system (oci db system launch|update --defined-tags --freeform-tags)
    • Filter set of database versions based on database system ID (oci db version list --db-system-id)

2.4.20

06 Apr 02:16
07c72dd

Choose a tag to compare

Added

  • An example of how to scale existing VM instances using CLI can be found on Github
  • A warning message informing use of --all flag to get all items during list operations.

Fixed

  • Multipart bulk download in Object Store service to correctly enable downloads as per size thresholds set by the user.
  • Check all required parameters are present before prompting for deleting resource

Changed

  • Use root compartment OCID (tenancy OCID) as default value for --compartment-id in oci iam compartment list command.

2.4.19

26 Mar 23:30
39ab1cf

Choose a tag to compare

Added

  • Support for managing SMTP credentials in the Identity Service (oci iam smtp-credential)
  • Support for remote VCN peering across regions (oci network remote-peering-connection)
  • Support for calling Oracle Cloud Infrastructure services in the uk-london-1 (LHR) region

Changed

  • When listing audit events (oci audit event list) the --start-time and --end-time parameters specify values with granularity to the minute. If you provide values which have non-zero seconds or milliseconds, these will be rounded to the nearest minute with greater than or equal to 30 seconds rounding upwards and less than 30 seconds rounding downwards

Fixed

  • When providing a datetime parameter to the CLI, v2.4.18 and below did not parse datetimes correctly but instead of failing they silently coverted values to midnight of the date provided and sent this value to the service. This version fixes the datetime parsing and the following inputs will be considered valid:

    • YYYY-MM-DDTHH:mm:ss.sssTZD (UTC) with milliseconds, e.g. 2017-09-15T20:30:00.123Z
    • YYYY-MM-DDTHH:mm:ssTZD (UTC) without milliseconds, e.g. 2017-09-15T20:30:00Z
    • YYYY-MM-DDTHH:mmTZD (UTC) with minute precision, e.g. 2017-09-15T20:30Z
    • YYYY-MM-DDTHH:mm:ssTZD (timzone with offset) with milliseconds, e.g. 2017-09-15T12:30:00.456-08:00, 2017-09-15T12:30:00.456-0800
    • YYYY-MM-DDTHH:mm:ssTZD (timezone with offset) without milliseconds, e.g. 2017-09-15T12:30:00-08:00, 2017-09-15T12:30:00-0800
    • YYYY-MM-DDTHH:mmTZD (timezone with offset) with minute precision, e.g. 2017-09-15T12:35-08:00, 2017-09-15T12:35-0800
    • YYYY-MM-DD, e.g. 2017-09-15. This date will be taken as midnight UTC of that day
    • Unix time in seconds, e.g. 1412195400

Security Notice

  • Versions of oci-cli prior to 2.4.10 are affected by a security vulnerability. Versions 2.4.11 and later will automatically detect vulnerable installations, and if issues are detected, a warning will be displayed to the user. These issues can be remediated automatically by running the oci setup repair-file-permissions command.

2.4.18

09 Mar 02:08
5e95677

Choose a tag to compare

Added

  • Support for the Email Service. (oci email)
    • A sample test using the email feature can be found on Github
  • Support for the following features in the Core Services:
    • paravirtualized volume attachments (--type option for oci compute volume-attachment attach)
    • variable size boot volumes (--boot-volume-size-in-gbs option for oci compute instance launch)
  • Support for auto-pagination for the Domain Name System Service. (--all, --page-size options for oci dns record domain get, oci dns record rrset get, oci dns record zone get)
  • Support for no-overwrite flag for the object put operation for the Object Service (--no-overwrite for oci os object put).

Fixed

  • Updated config / key file permissions logic on Windows to depend on well known SIDs instead of account / group name to fix localization issues. This affects oci setup config, oci setup repair-file-permissions, and the general config / key file permissions check performed by other commands.

2.4.17

23 Feb 03:41
815b576

Choose a tag to compare

Added

  • Support for the File Storage Service. (oci fs)
    • An example can be found on GitHub
  • Support for Path Route Sets in the Load Balancer Service. An example can be found on GitHub (oci lb path-route-set)
  • Tagging support for Bucket resources in the Object Storage Service
    • Create a bucket with tags: oci os bucket create --defined-tags --freeform-tags
    • Update a bucket with tags: oci os bucket update --defined-tags --freeform-tags
    • List buckets and display defined and freeform tags in the results: oci os bucket list --fields tags
  • Support for specifying a restore period for archived objects in the RestoreObjects operation of the Object Storage service. (oci os object restore --hours)
  • Added support for filtering by backupId in ListDbSystems operation in the Database Service. (oci db system list --backup-id)
  • Support for getting plink (the PuTTY command line interface) compatible instance console connection string for Windows users. (oci compute instance-console-connection get-plink-connection-string)

2.4.16

09 Feb 08:54
fabed1e

Choose a tag to compare

Added

  • Support for Domain Name System Service (oci dns)
    • An example on using the Domain Name System Service can be found on GitHub.
  • Support for Reserved Public IPs in Virtual Networking Service (oci network public-ip)
  • Support for the following features in Block Storage Service
    • Automated and policy-based scheduled backups (oci bv volume-backup-policy | volume-backup-policy-assignment)
    • Read-only volume attachments (--is-read-only option while attaching volume)
    • Incremental backups (--type option while creating a volume backup)

2.4.15

26 Jan 01:48
67b1062

Choose a tag to compare

Added

  • Support for using the ObjectReadWithoutList public access type when creating and updating buckets
  • Support for managing dynamic groups (oci iam dynamic-group)
  • Support for instance principal auth (using --auth instance_principal option)

2.4.14

12 Jan 05:34
668fb0a

Choose a tag to compare

Added

  • Support for tagging
  • Support for bringing your own custom image for emulation mode virtual machines in Compute Service (--launch-mode parameter on create image)
  • Support for returning unquoted strings when the result of a JMESPath --query is a single string value (using --raw-output option)
  • Support for launching an instance from an image or boot volume using the --image-id or --source-boot-volume-id parameters (these are alternatives to specifying --source-details)
  • Support for boot volume attachment operations (oci compute boot-volume-attachment)
  • Support wait for state on detach operations (e.g. oci compute volume-attachment detach --wait-for-state)

Changed

  • Upgraded cryptography dependency to 2.1.3
    • Changed dependency on pyOpenSSL <= 17.4.0 as the minimum cryptography version for pyOpenSSL 17.5.0 is 2.1.4
  • Upgraded six dependency to 1.11.0
  • Ugraded requests dependency to 2.18.4

2.4.13

11 Dec 22:45
fc8a85e

Choose a tag to compare

Added

  • Support for Load Balancing Service operations ('oci lb')

  • Support for user managed boot volumes: 'oci bv boot-volume', 'oci compute instance launch --source-details', 'oci compute instance terminate --preserve-boot-volume'

  • Operations which create, update or delete resources with a lifecycle-state now support a --wait-for-state option which allows you to perform the action and then wait until the resource reaches a given state

  • Support for specifying --profile option through OCI_CLI_PROFILE environment variable

Changed

  • When listing audit events ('oci audit event list'), audit events can now have a 'response-payload' attribute which contains metadata of interest. For example, the OCID of a resource