temporalio / tcld Goto Github PK
View Code? Open in Web Editor NEWThe temporal cloud cli.
License: MIT License
The temporal cloud cli.
License: MIT License
Managing apikeys in Temporal Cloud as per documented here https://github.com/temporalio/tcld#api-key-management-preview
After pulling the latest version, main branch and building the binary using make
command, the command tcld apikey
is not recognized
❯ ./tcld apikey list
No help topic for 'apikey'
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
CVE | Severity | CVSS | Dependency | Type | Fixed in (google.golang.org/grpc-v1.46.2 version) | Remediation Available |
---|---|---|---|---|---|---|
CVE-2022-27664 | High | 7.5 | golang.org/x/net-v0.0.0-20210405180319-a5a99cb37ef4 | Transitive | N/A* | ❌ |
CVE-2022-30633 | High | 7.5 | golang.org/x/net-v0.0.0-20210405180319-a5a99cb37ef4 | Transitive | N/A* | ❌ |
CVE-2022-32149 | High | 7.5 | golang.org/x/text-v0.3.7 | Transitive | N/A* | ❌ |
CVE-2022-41721 | High | 7.5 | golang.org/x/net-v0.0.0-20210405180319-a5a99cb37ef4 | Transitive | N/A* | ❌ |
CVE-2021-33194 | High | 7.5 | golang.org/x/net-v0.0.0-20210405180319-a5a99cb37ef4 | Transitive | N/A* | ❌ |
CVE-2021-44716 | High | 7.5 | golang.org/x/net-v0.0.0-20210405180319-a5a99cb37ef4 | Transitive | N/A* | ❌ |
CVE-2022-28131 | High | 7.5 | golang.org/x/net-v0.0.0-20210405180319-a5a99cb37ef4 | Transitive | N/A* | ❌ |
CVE-2021-31525 | Medium | 5.9 | golang.org/x/net-v0.0.0-20210405180319-a5a99cb37ef4 | Transitive | N/A* | ❌ |
CVE-2022-29526 | Medium | 5.3 | golang.org/x/sys-v0.0.0-20210903071746-97244b99971b | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error.
Publish Date: 2022-09-06
URL: CVE-2022-27664
Base Score Metrics:
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.
Publish Date: 2022-08-10
URL: CVE-2022-30633
Base Score Metrics:
Type: Upgrade version
Origin: https://security-tracker.debian.org/tracker/CVE-2022-30633
Release Date: 2022-05-13
Fix Resolution: go1.17.12,go1.18.4
Library home page: https://proxy.golang.org/golang.org/x/text/@v/v0.3.7.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.
Publish Date: 2022-10-14
URL: CVE-2022-32149
Base Score Metrics:
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2022-32149
Release Date: 2022-10-14
Fix Resolution: v0.3.8
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.
Publish Date: 2023-01-13
URL: CVE-2022-41721
Base Score Metrics:
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
golang.org/x/net before v0.0.0-20210520170846-37e1c6afe023 allows attackers to cause a denial of service (infinite loop) via crafted ParseFragment input.
Publish Date: 2021-05-26
URL: CVE-2021-33194
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33194
Release Date: 2021-05-26
Fix Resolution: golang.org/x/net - v0.0.0-20210520170846-37e1c6afe023
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 requests.
Publish Date: 2022-01-01
URL: CVE-2021-44716
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-vc3p-29h2-gpcp
Release Date: 2022-01-01
Fix Resolution: github.com/golang/net - 491a49abca63de5e07ef554052d180a1b5fe2d70
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a deeply nested XML document.
Publish Date: 2022-08-10
URL: CVE-2022-28131
Base Score Metrics:
Type: Upgrade version
Origin: https://security-tracker.debian.org/tracker/CVE-2022-28131
Release Date: 2022-03-29
Fix Resolution: go1.17.12,go1.18.4
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.
Publish Date: 2021-05-27
URL: CVE-2021-31525
Base Score Metrics:
Type: Upgrade version
Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1958341
Release Date: 2021-05-27
Fix Resolution: golang - v1.15.12,v1.16.4,v1.17.0
Library home page: https://proxy.golang.org/golang.org/x/sys/@v/v0.0.0-20210903071746-97244b99971b.zip
Dependency Hierarchy:
Found in HEAD commit: f878b4edda2568afb4f36fd71a745d41a65bf911
Found in base branch: main
Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.
Publish Date: 2022-06-23
URL: CVE-2022-29526
Base Score Metrics:
Type: Upgrade version
Origin: https://security-tracker.debian.org/tracker/CVE-2022-29526
Release Date: 2022-06-23
Fix Resolution: go1.17.10,go1.18.2,go1.19
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/crypto/@v/v0.14.0.mod
Found in HEAD commit: 4d6f44342331fcdef978c4281f35e9c2461dcd24
CVE | Severity | CVSS | Dependency | Type | Fixed in (github.com/go-playground/valIdator/v10-v10.13.0 version) | Remediation Possible** |
---|---|---|---|---|---|---|
CVE-2023-48795 | Medium | 5.9 | golang.org/x/crypto-v0.14.0 | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Library home page: https://proxy.golang.org/golang.org/x/crypto/@v/v0.14.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/crypto/@v/v0.14.0.mod
Dependency Hierarchy:
Found in HEAD commit: 4d6f44342331fcdef978c4281f35e9c2461dcd24
Found in base branch: main
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in [email protected] and (if CBC is used) the [email protected] MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust.
Publish Date: 2023-12-18
URL: CVE-2023-48795
Base Score Metrics:
Type: Upgrade version
Origin: https://security-tracker.debian.org/tracker/CVE-2023-48795
Release Date: 2023-12-18
Fix Resolution: putty - 0.80, openssh - V_9_6_P1, golang/crypto - v0.17.0, asyncssh - 2.14.2, libssh-0.9.8, libssh-0.10.6, teraterm - v5.1, paramiko - 3.4.0, russh - 0.40.2, com.github.mwiede:jsch:0.2.15, proftpd - v1.3.8b, thrussh - 0.35.1, teraterm - v5.1, org.connectbot:sshlib:2.2.22, mscdex/ssh2 - 1.15.0, jtesta/ssh-audit - v3.1.0, Oryx-Embedded/CycloneSSH - v2.3.4, opnsense/src - 23.7, winscp - 6.2.2, PowerShell/openssh-portable - v9.5.0.0
When you run a command like:
tcld n cf exp -f <path for your json export> -n <namespace>
It can print:
rpc error: code = Unauthenticated desc = request not authenticated
It'd be nice to add a line about "try tcld login
Just adding a line about trying tcld login
in access failure messages.
It'd be also nice to extend the documentation at:
https://docs.temporal.io/cloud/tcld/login
I want to be able to have a bash script (in lieu of having terraform) ensure that the correct namespaces exist in our temporal cloud account.
We are creating certs and storing them in SSM params, so I want to be able to iterate through the params I can find and either update the certs in the namespaces, or create new namespaces if the one specified doesn't exist.
I want to be able to call it like so:
aws ssm get-parameter \
--with-decryption \
--recursive \
--name /temporalcloud/my-new-namespace/certificate \
--no-cli-pager \
--query "Parameter.Value" \
--output text \
> my-new-namespace.crt
temporal namespace create \
--namespace my-new-namespace \
--region us-east-1 \
--retention-days 14 \
--ca-certificate-file my-new-namespace.crt
I am happy to implement or contribute this. I actually have a version that works on my fork, and I'll submit a draft PR after this issue.
If a create command is not in your design spec, feel free to close this issue & PR. I can just use my forked version as needed (although it's hacky...).
Context:
I accidentally clicked on the wrong email when initially logging in, then I had permission denied errors when I tried running commands. When I tried relogging in, it would just direct me to the device confirmation page without giving me the chance to correctly choose the right email.
Suggestion:
There wasn't a straightforward way for me to use tcld
to log out and reconnecting with a different email. Maybe introduce a tcld logout
command.
If I install tcdl
via homebrew (see documentation https://github.com/temporalio/tcld#install-via-homebrew), I get the version 0.17.
instead of the latest released version (v0.4.0 as per today)
After installing tcld from homebrew
❯ brew reinstall temporalio/brew/tcld
==> Downloading https://github.com/temporalio/tcld/archive/refs/tags/v0.1.4.tar.gz
tcld v
output is v0.1.3, I think it should be v.0.1.4 instead
Embedding revision and date can be automated using Go tools:
Use Go debug package instead of ldflags
Works better with packaging solutions like Nix
See #273
it is required to have a compiled tool in an archive to simplify download and installation process. I need arm and amd architecture for linux, mac
I manage all my development environments with Nix.
I'd like to install tcld using Nix.
Chances are publishing tcld to the official nixpkgs doesn't make much sense.
You may want to set up your own repository.
I recently collaborated with the Dagger team to do the same: https://github.com/dagger/nix
Happy to collaborate with you as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.