Giter Club home page Giter Club logo

phantom-cyber's Introduction

banner

For the past 10 years, my focus has been software-defined networking, network programmability and infrastructure automation. Previously I developed and wrote many Cisco Validated Design guides on QoS enabled, encrypted Voice and Video using IPSec over the public Internet. As a network consulting engineer, I supported large enterprise customers.

Industry contributions

Joel W. King - Network Programmablity Architect, Developer and Engineer, DevNet 500, CCIE 1846 (ret.)

Recent news

Contact information

phantom-cyber's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

phantom-cyber's Issues

Would like shorter action field descriptions

F5 App 2.0

Ideally when possible, we would like action parameter descriptions to be limited to one line in the UI, so that fields are laid out in alignment. Currently, the block ip Launch Action dialog looks like this:

screen shot 2016-06-23 at 2 00 12 pm

And unblock ip:

screen shot 2016-06-23 at 2 03 08 pm

(Unblock ip isn't as much of a problem since there's no other field next to "Partition" to have a misalignment, but ideally would still be a one-liner. If you change it for block ip, probably want to make the fields in unblock ip match.)

Some suggestions for wording or other changes:
Action: Might just want the description to be Action,or Rule action, and have it be a fixed list of options that turns into a drop-down. (Based on the current description, it sounds like it's a fixed list.)

Doing that would look like:

      "action": {
        "description": "Rule action ",
        "data_type": "string",
        "required": true,
        "value_list":["accept","drop", "reject"]
      }

Partition: Might suggest "Partition or path for the firewall policy"

Looks like the rest are already one line.

Should include some "contains" fields

Meraki App 1.6

It doesn't look like any of the current fields supplied nor returned have any "contains" values. In Phantom a contains value is used to "chain" actions together. A very common example is an ip address. If one App has a field that contains an ip address, all the other Apps and Actions that also contains an ip address can take that as input.

In the case of this App, an obvious candidate is any mac addresses returned. You do this by adding a line in the JSON like this:

"contains": ["mac address"]

So this:

    "output": [
    {
      "data_path": "action_result.data.*.client.mac",
      "data_type": "string",
      "column_name": "Client MAC",
      "column_order": 0
    },

would become:

    "output": [
    {
      "data_path": "action_result.data.*.client.mac",
      "contains": ["mac address"],
      "data_type": "string",
      "column_name": "Client MAC",
      "column_order": 0
    },

Similarly, the Action parameters should have a "primary" designation for the primary field. In your case, that's this:

      "search_string": {
        "description": "Characters to match in the client MAC address or description. Use asterisk * to return all clients.",
        "data_type": "string",
        "required": true
      }

It should probably be:

      "search_string": {
        "description": "Characters to match in the client MAC address or description. Use asterisk * to return all clients.",
        "primary": true,
        "data_type": "string",
        "required": true
      }

That tells Phantom that this is the main field that this action needs. So other results will have a contextual action on their mac address output (if they have "contains" on them), and then your located device Action will show up on the context menu, and take those MACs as input.

Set contains and primary for source field

F5 App 2.0

(Apologies in advance if I'm misunderstanding the "source" field, I believe it must be the IP address. If that's not right please disregard and close.)

For the block ip action, I believe the "source" field is the IP address to be blocked, yes? If so, I recommend that it be tagged primary and contains "ip". So it would then look like this:

      "source": {
        "description": "packet source address",
        "contains": [ "ip" ],
        "primary": true,
        "data_type": "string",
        "required": true
      },

Note addition of the contains and primary lines.

Would like logo with white or transparent background

Meraki App 1.6

If available, a vendor logo with a transparent or white background is idea. The current one has an off-white background. Screenshot with the current logo, and some neighboring ones for comparison:

screen shot 2016-06-22 at 7 48 03 pm

unblock ip should be action type "correct"

F5 App 2.0

The unblock ip action should be action type "correct" rather than "contain". Contain is for actions that restrict something (so your block ip action is correct as it's under contain). But the undo/unrestrict actions go under "correct". Right now, installing your App with the ones that come with Phantom makes it so that "unblock ip" now appears under both correct and contain.

Recommend that the JSON for unblock ip be changed to:

  {
    "action": "unblock ip",
    "description": "Deletes the rule which blocks an IP address",
    "type": "correct",
    "identifier": "unblock ip",
    "read_only": false,
    "parameters": {
...

Where "type" has been changed to "correct".

Long configuration description causes layout problem

Meraki App 1.6

The long description on the dashboard config parameter causes a layout issue on the Asset screen:

screen shot 2016-06-22 at 7 35 40 pm

Normally the two fields would line up vertically.

It's possible to provide a default value for a field in the JSON. Suggest shortening the description to just "Dashboard URL" and supplying dashboard.meraki.com as the default value.

Long Action parameter description causes layout issue on Launch Action dialog

Meraki App 1.6

Whenever possible, Action parameter descriptions should be limited to one line when laid out on the Launch Action dialog. Currently, the parameters for the "locate device" Action take 2 and 3 lines, causing the fields to not align vertically:

screen shot 2016-06-22 at 7 41 13 pm

Suggest something like "Partial MAC address or *" and "Timespan in seconds", and provide further documentation in the App doc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.