@rivora/cli 0.1.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.
- package/README.md +129 -0
- package/dist/index.js +187709 -0
- package/package.json +83 -0
package/README.md
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Rivora CLI
|
|
2
|
+
|
|
3
|
+
**Infrastructure Intelligence Layer**
|
|
4
|
+
|
|
5
|
+
Rivora CLI is your command-line interface for managing cloud infrastructure with AI-powered intelligence. Connect your AWS, Kubernetes, and other cloud resources to get intelligent insights, automated remediation, and streamlined infrastructure management.
|
|
6
|
+
|
|
7
|
+
## ✨ Features
|
|
8
|
+
|
|
9
|
+
- 🔐 **Secure Authentication** - JWT-based auth with Rivora platform
|
|
10
|
+
- ☁️ **Multi-Cloud Support** - AWS and Kubernetes integration
|
|
11
|
+
- 🤖 **AI-Powered Remediation** - Intelligent infrastructure issue detection and fixes
|
|
12
|
+
- 📊 **Findings & Plans** - Detect misconfigurations and generate remediation plans
|
|
13
|
+
- 🔄 **Auto-Update** - Keep your CLI up to date effortlessly
|
|
14
|
+
|
|
15
|
+
## 🚀 Installation
|
|
16
|
+
|
|
17
|
+
### Quick Install (Recommended)
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
curl -fsSL https://rivora.dev/install | bash
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This installs a self-contained binary with zero runtime dependencies. Works on:
|
|
24
|
+
- ✅ macOS (Apple Silicon & Intel)
|
|
25
|
+
- ✅ Linux (x64 & ARM64)
|
|
26
|
+
|
|
27
|
+
### Alternative: Install via npm/bun
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g @rivora/cli
|
|
31
|
+
# or
|
|
32
|
+
bun add -g @rivora/cli
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## 🎯 Quick Start
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Login to Rivora
|
|
39
|
+
rivora auth login
|
|
40
|
+
|
|
41
|
+
# Connect to AWS
|
|
42
|
+
rivora connect aws --profile <your-profile>
|
|
43
|
+
|
|
44
|
+
# Sync inventory and find issues
|
|
45
|
+
rivora inventory aws --sync
|
|
46
|
+
rivora findings list --severity high
|
|
47
|
+
|
|
48
|
+
# Get finding details with AI explanation
|
|
49
|
+
rivora findings get <finding-id>
|
|
50
|
+
|
|
51
|
+
# Generate remediation plan
|
|
52
|
+
rivora findings plan <finding-id> --format terraform
|
|
53
|
+
|
|
54
|
+
# Apply remediation
|
|
55
|
+
rivora findings remediate <finding-id> --dry-run
|
|
56
|
+
rivora findings remediate <finding-id> --apply
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## 📚 Commands
|
|
60
|
+
|
|
61
|
+
### Authentication
|
|
62
|
+
|
|
63
|
+
- `rivora auth login` - Authenticate with Rivora
|
|
64
|
+
- `rivora auth logout` - Sign out
|
|
65
|
+
- `rivora auth status` - Check authentication status
|
|
66
|
+
|
|
67
|
+
### Cloud Connections
|
|
68
|
+
|
|
69
|
+
- `rivora connect aws` - Connect to AWS
|
|
70
|
+
- `rivora connect slack` - Connect Slack for notifications
|
|
71
|
+
|
|
72
|
+
### Inventory & Findings
|
|
73
|
+
|
|
74
|
+
- `rivora inventory aws --sync` - Sync AWS inventory
|
|
75
|
+
- `rivora findings list` - List security findings
|
|
76
|
+
- `rivora findings get <id>` - Get finding details
|
|
77
|
+
- `rivora findings plan <id>` - Generate remediation plan
|
|
78
|
+
- `rivora findings remediate <id>` - Apply remediation
|
|
79
|
+
|
|
80
|
+
### CI/CD Integration
|
|
81
|
+
|
|
82
|
+
- `rivora ci scan` - Run security scan in CI
|
|
83
|
+
- `rivora ci gate` - Deploy gate check
|
|
84
|
+
- `rivora ci comment` - Post findings to PR
|
|
85
|
+
|
|
86
|
+
### Maintenance
|
|
87
|
+
|
|
88
|
+
- `rivora update` - Update to latest version
|
|
89
|
+
- `rivora --version` - Show version
|
|
90
|
+
- `rivora --help` - Show help
|
|
91
|
+
|
|
92
|
+
## 🔐 Security
|
|
93
|
+
|
|
94
|
+
- **No Credential Storage** - CLI never stores AWS credentials
|
|
95
|
+
- **Native Auth Chain** - Uses existing `~/.aws/` config
|
|
96
|
+
- **JWT Tokens** - Secure authentication with Rivora platform
|
|
97
|
+
|
|
98
|
+
## 🌍 Platform Support
|
|
99
|
+
|
|
100
|
+
| Platform | Architecture | Status |
|
|
101
|
+
|----------|-------------|--------|
|
|
102
|
+
| macOS | ARM64 (M1/M2/M3) | ✅ Supported |
|
|
103
|
+
| macOS | x64 (Intel) | ✅ Supported |
|
|
104
|
+
| Linux | x64 | ✅ Supported |
|
|
105
|
+
| Linux | ARM64 | ✅ Supported |
|
|
106
|
+
|
|
107
|
+
## 🔄 Auto-Update
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# Check for updates
|
|
111
|
+
rivora update --check
|
|
112
|
+
|
|
113
|
+
# Install latest version
|
|
114
|
+
rivora update
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## 🔗 Links
|
|
118
|
+
|
|
119
|
+
- **Website**: https://rivora.dev
|
|
120
|
+
- **Documentation**: https://docs.rivora.dev
|
|
121
|
+
|
|
122
|
+
## 💬 Support
|
|
123
|
+
|
|
124
|
+
- **Documentation**: https://docs.rivora.dev
|
|
125
|
+
- **Email**: support@rivora.dev
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
Made with ❤️ by Rivora
|