Skip to content

Commit

Permalink
Update help text casing / branding (#2261)
Browse files Browse the repository at this point in the history
* Capitalize Atlassian Cloud for the help

Minor help formatting

Signed-off-by: Tim Smith <[email protected]>

* Fix other help items

Signed-off-by: Tim Smith <[email protected]>

* Additional Atlassian updates

Signed-off-by: Tim Smith <[email protected]>

* More help branding updates

Signed-off-by: Tim Smith <[email protected]>

* Atlassian Cloud -> Atlassian in another place

Signed-off-by: Tim Smith <[email protected]>

* More consistent help

Signed-off-by: Tim Smith <[email protected]>

---------

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Oct 17, 2023
1 parent 5e5debf commit 79fa5b1
Show file tree
Hide file tree
Showing 21 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ lr/docs/markdown: providers/lr
--output ../docs/docs/mql/resources/arista-pack
./lr markdown providers/atlassian/resources/atlassian.lr \
--pack-name "Atlassian" \
--description "The Atlassian resource pack lets you use MQL to query and assess the security of your Atlassian Cloud services." \
--description "The Atlassian resource pack lets you use MQL to query and assess the security of your Atlassian services." \
--docs-file providers/atlassian/resources/atlassian.lr.manifest.yaml \
--output ../docs/docs/mql/resources/atlassian-pack
./lr markdown providers/aws/resources/aws.lr \
Expand Down
2 changes: 1 addition & 1 deletion providers/arista/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "arista",
Use: "arista user@host",
Short: "Arista EOS",
Short: "an Arista EOS device",
Discovery: []string{},
MinArgs: 1,
MaxArgs: 1,
Expand Down
12 changes: 6 additions & 6 deletions providers/atlassian/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,39 +23,39 @@ var Config = plugin.Provider{
{
Name: "atlassian",
Use: "atlassian",
Short: "atlassian",
Short: "Atlassian",
MaxArgs: 2,
Discovery: []string{},
Flags: []plugin.Flag{
{
Long: "admin-token",
Type: plugin.FlagType_String,
Default: "",
Desc: "Provide atlassian admin api token (used for atlassian admin).",
Desc: "Provide Atlassian admin api token (used for Atlassian admin).",
},
{
Long: "host",
Type: plugin.FlagType_String,
Default: "",
Desc: "Provide atlassian hostname (e.g. https://example.atlassian.net).",
Desc: "Provide Atlassian hostname (e.g. https://example.atlassian.net).",
},
{
Long: "user",
Type: plugin.FlagType_String,
Default: "",
Desc: "Provide atlassian user name (e.g. [email protected]).",
Desc: "Provide Atlassian user name (e.g. [email protected]).",
},
{
Long: "user-token",
Type: plugin.FlagType_String,
Default: "",
Desc: "Provide atlassian user api token (used for jira / confluence).",
Desc: "Provide Atlassian user api token (used for Jira / Confluence).",
},
{
Long: "scim-token",
Type: plugin.FlagType_String,
Default: "",
Desc: "Provide atlassian scim api token (used for scim).",
Desc: "Provide Atlassian scim api token (used for scim).",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion providers/aws/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var Config = plugin.Provider{
{
Name: "aws",
Use: "aws",
Short: "aws account",
Short: "an AWS account",
MinArgs: 0,
MaxArgs: 4,
Discovery: []string{
Expand Down
2 changes: 1 addition & 1 deletion providers/azure/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Config = plugin.Provider{
{
Name: "azure",
Use: "azure",
Short: "azure",
Short: "an Azure subscription",
MinArgs: 0,
MaxArgs: 8,
Discovery: []string{
Expand Down
2 changes: 1 addition & 1 deletion providers/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var DefaultProviders Providers = map[string]*Provider{
Connectors: []plugin.Connector{
{
Name: "atlassian",
Short: "atlassian cloud",
Short: "Atlassian",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion providers/equinix/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "equinix",
Use: "equinix [org <org id>] [project <project-id>] [--token <token>]",
Short: "Equinix Metal",
Short: "an Equinix Metal organization",
Long: `equinix is designed for querying resources within a specified
project or organization on the Equinix Metal platform.
Expand Down
2 changes: 1 addition & 1 deletion providers/gcp/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var Config = plugin.Provider{
{
Name: "gcp",
Use: "gcp",
Short: "GCP Cloud",
Short: "a Google Cloud project",
MaxArgs: 2,
Discovery: []string{
resources.DiscoveryAll,
Expand Down
2 changes: 1 addition & 1 deletion providers/github/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "github",
Use: "github",
Short: "GitHub",
Short: "a GitHub organization or repository",
MinArgs: 2,
MaxArgs: 2,
Discovery: []string{},
Expand Down
2 changes: 1 addition & 1 deletion providers/gitlab/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var Config = plugin.Provider{
{
Name: "gitlab",
Use: "gitlab",
Short: "GitLab",
Short: "a GitLab group or project",
Discovery: []string{
provider.DiscoveryAuto,
provider.DiscoveryGroup,
Expand Down
2 changes: 1 addition & 1 deletion providers/google-workspace/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "google-workspace",
Use: "google-workspace [--credentials-path <credentials-path>] [--customer-id <customer-id>] [--impersonated-user-email <impersonated-user-email>]",
Short: "Google Workspace",
Short: "a Google Workspace account",
Long: `google-workspace is designed for querying resources within for a Google Workspace domain.
The provider requires three flags to be set:
Expand Down
2 changes: 1 addition & 1 deletion providers/ipmi/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "ipmi",
Use: "ipmi user@host",
Short: "Intelligent Platform Management Interface (IPMI)",
Short: "an IPMI interface",
Long: `ipmi is designed for querying resources via the Intelligent Platform Management Interface (IPMI).
IPMI provides management and monitoring capabilities independently of the host system's CPU,
firmware (BIOS or UEFI), and operating system.
Expand Down
2 changes: 1 addition & 1 deletion providers/k8s/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var Config = plugin.Provider{
Name: "k8s",
Aliases: []string{"kubernetes"},
Use: "k8s (optional MANIFEST path)",
Short: "a Kubernetes cluster or local manifest file(s).",
Short: "a Kubernetes cluster or local manifest file(s)",
MinArgs: 0,
MaxArgs: 1,
Discovery: []string{
Expand Down
2 changes: 1 addition & 1 deletion providers/ms365/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "ms365",
Use: "ms365",
Short: "ms365",
Short: "a Microsoft 365 account",
MinArgs: 0,
MaxArgs: 5,
Discovery: []string{},
Expand Down
2 changes: 1 addition & 1 deletion providers/oci/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "oci",
Use: "oci",
Short: "Oracle Cloud Infrastructure",
Short: "an Oracle Cloud Infrastructure tenancy",
Discovery: []string{},
Flags: []plugin.Flag{
{
Expand Down
2 changes: 1 addition & 1 deletion providers/opcua/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "opcua",
Use: "opcua [--endpoint <endpoint>]",
Short: "OPC UA",
Short: "an OPC UA device",
Long: `opcua is designed for querying resources on an OPC UA (Open Platform
Communications Unified Architecture) server, a protocol facilitating machine-to-machine communications within
the realm of industrial automation.
Expand Down
4 changes: 2 additions & 2 deletions providers/os/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ var Config = plugin.Provider{
{
Name: "docker",
Use: "docker",
Short: "a running docker or docker image",
Short: "a running Docker container or Docker image",
MinArgs: 1,
MaxArgs: 2,
Discovery: []string{
Expand Down Expand Up @@ -234,7 +234,7 @@ var Config = plugin.Provider{
Name: "filesystem",
Aliases: []string{"fs"},
Use: "filesystem [flags]",
Short: "a mounted file system target.",
Short: "a mounted file system target",
MinArgs: 0,
MaxArgs: 0,
Flags: []plugin.Flag{
Expand Down
2 changes: 1 addition & 1 deletion providers/slack/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "slack",
Use: "slack",
Short: "slack team",
Short: "a Slack team",
MinArgs: 0,
MaxArgs: 0,
Discovery: []string{},
Expand Down
2 changes: 1 addition & 1 deletion providers/terraform/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var Config = plugin.Provider{
Name: "terraform",
Aliases: []string{},
Use: "terraform PATH",
Short: "a terraform hcl file or directory.",
Short: "a Terraform HCL file or directory",
MinArgs: 1,
MaxArgs: 2,
Discovery: []string{},
Expand Down
2 changes: 1 addition & 1 deletion providers/vcd/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "vcd",
Use: "vcd [--user <user>] [--host <host>] [--organization <organization>] [--ask-pass] [--password <password>]",
Short: "VMware Cloud Director",
Short: "a VMware Cloud Director installation",
Long: `vcd is designed for querying resources within for a VMware Cloud Director environment. VMware's
vCloud Director (vCD), a platform that facilitates the operation and management of virtual resources within
a multi-tenant cloud environment.
Expand Down
2 changes: 1 addition & 1 deletion providers/vsphere/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Config = plugin.Provider{
{
Name: "vsphere",
Use: "vsphere user@host",
Short: "VMware vSphere",
Short: "a VMware vSphere installation",
Discovery: []string{
resources.DiscoveryApi,
resources.DiscoveryInstances,
Expand Down

0 comments on commit 79fa5b1

Please sign in to comment.