Skip to content

Web2py auth and new endpoints#102

Open
sghf wants to merge 1 commit intoopensvc:mainfrom
sghf:dev
Open

Web2py auth and new endpoints#102
sghf wants to merge 1 commit intoopensvc:mainfrom
sghf:dev

Conversation

@sghf
Copy link
Contributor

@sghf sghf commented Feb 6, 2026

  • w2p authent to support passwords generated by the Python Collector
  • New endpoints for :
    • GET /nodes/{node_id}/compliance/candidate_modulesets
    • GET /nodes/{node_id}/compliance/candidate_rulesets
    • GET /nodes/{node_id}/compliance/modulesets
    • DEL /nodes/{node_id}/compliance/modulesets/{mset_id}
    • POST /nodes/{node_id}/compliance/modulesets/{mset_id}
    • GET /nodes/{node_id]/compliance/rulesets
    • DEL /nodes/{node_id}/compliance/rulesets/{rset_id}
    • POST /nodes/{node_id}/compliance/rulesets/{rset_id}
    • GET /tags
    • GET /tags/{tag_id}
    • GET /tags/{tag_id}/nodes

- w2p authent to support passwords generated by the Python Collector
- New endpoints for :
    - GET /nodes/{node_id}/compliance/candidate_modulesets
    - GET /nodes/{node_id}/compliance/candidate_rulesets
    - GET /nodes/{node_id}/compliance/modulesets
    - DEL /nodes/{node_id}/compliance/modulesets/{mset_id}
    - POST /nodes/{node_id}/compliance/modulesets/{mset_id}
    - GET /nodes/{node_id]/compliance/rulesets
    - DEL /nodes/{node_id}/compliance/rulesets/{rset_id}
    - POST /nodes/{node_id}/compliance/rulesets/{rset_id}
    - GET /tags
    - GET /tags/{tag_id}
    - GET /tags/{tag_id}/nodes
TagName string `json:"tag_name"`
TagCreated string `json:"tag_created"`
TagExclude string `json:"tag_exclude"`
TagData interface{} `json:"tag_data"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any

return false, fmt.Errorf("nodeResponsible: must have a not empty node_id parameter")
}
if isManager {
slog.Info("xxx - Manager")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants