Skip to content

Pass cookie information to NetBoxFakeRequest for use in custom scripts #7672

@cybarox

Description

@cybarox

NetBox version

v3.0.8

Feature type

Data model extension

Proposed functionality

extend the kwargs on NetBoxFakeRequest by cookie data, so cookie values can be accessed via custom scripts.

Use case

I want to use the session_key value data of netbox_secretstore from the cookie to decrypt secrets for router configuration creation via custom scripts.

Database changes

none

External dependencies

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending closureRequires immediate attention to avoid being closed for inactivitystatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationtype: featureIntroduction of new functionality to the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions