edjx domain rules read

Displays the details for a specific rules.

You must know the Rule ID to execute this command.

Usage

edjx domain rules read <rule-UUID>
[-d, --domain <domain-UUID>]

Options

Option Required Type Description

<rule-UUID>

Yes

The rule UUID to read.

-d, --domain <domain-UUID>

No

UUID

The domain UUID to associate with the record.
Default: 00000000-0000-0000-0000-000000000000

Global Flags

Option Required Type Description

-h, --help

No

Displays inline help for the command.

--config <file-location>

No

string

Location of client configuration file (default file path is $HOME/.edjx/.edjx.yaml).

Read details for a specific rule

To view the details about a specific rule within the domain:

  1. Make sure you are in the organization view.

    edjx config organization -i
  2. View the rules assigned to the domain.

    edjx domain rules list
  3. Copy the Rule ID of the record you want to read.

  4. Execute the read command.

    edjx domain rules read <rule-UUID>

    Sample Output

    root@edjx:~ # edjx domain rules read 79afb1a1-21d1-4029-82d0-d9a7913ded63
    Name                Rule1
    Rule ID             79afb1a1-21d1-4029-82d0-d9a7913ded63
    Match Type          Exact Match
    Match Value         http://myorg.com/support?name=support
    Proxy Action        Rewrite
    Routing Destination http://{host}/{path}
    Order               1
    Created By          edjdocs
    Created On          2021-10-29 10:26:31.784 -0700 PDT
    Last Updated        2021-10-29 10:47:25.105 -0700 PDT
If you want to view domains associated with another organization, you must first switch to that organization.
See edjx config organization for details.