Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for ZAP Sites Tree Format in Output Options #482

Open
hahwul opened this issue Jan 12, 2025 · 0 comments
Open

Add Support for ZAP Sites Tree Format in Output Options #482

hahwul opened this issue Jan 12, 2025 · 0 comments
Assignees
Labels
📦 output-builder Issue for output builder (format)
Milestone

Comments

@hahwul
Copy link
Member

hahwul commented Jan 12, 2025

https://www.zaproxy.org/docs/desktop/addons/import-export/sitestreeformat/ (YAML)

 - node:              # The name of the node, as shown in the ZAP Sites Tree
    url:               # The URL it represents, present for all apart from the top node
    method:            # The HTTP method, present for all apart from the top node
    responseLength:    # The length of the response, where relevant
    statusCode:        # The HTTP status code, where relevant
    data:              # The names of the data parameters, if any, separated with '=&'s
    children:          # A list of child nodes, present for all nodes apart from the leaves

Example

- node: Sites
  children:
  - node: https://www.hahwul.com
    url: https://www.hahwul.com
    method: GET
    responseLength: 58064
    statusCode: 200
    children:
    - node: about
      url: https://www.hahwul.com/about
      method: GET
      children:
      - node: GET:/
        url: https://www.hahwul.com/about/
        method: GET
        responseLength: 60842
        statusCode: 200
      - node: POST:/()(1)
        url: https://www.hahwul.com/about/
        method: POST
        responseLength: 485
        statusCode: 405
        data: 1=
    - node: projects
      url: https://www.hahwul.com/projects
      method: GET
      children:
      - node: GET:/
        url: https://www.hahwul.com/projects/
        method: GET
        responseLength: 65654
        statusCode: 200
@hahwul hahwul added the 📦 output-builder Issue for output builder (format) label Jan 12, 2025
@hahwul hahwul self-assigned this Jan 12, 2025
@hahwul hahwul added this to the v0.19.0 milestone Jan 12, 2025
@hahwul hahwul changed the title Add ZAP Sites Tree Format in Output format Add Support for ZAP Sites Tree Format in Output Options Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 output-builder Issue for output builder (format)
Projects
None yet
Development

No branches or pull requests

1 participant