Shuffle / Shuffle

Shuffle: A general purpose security automation platform. Our focus is on collaboration and resource sharing.
https://shuffler.io
GNU Affero General Public License v3.0
1.76k stars 338 forks source link

[Feature Request] Web Form Generator #994

Open azgaviperr opened 2 years ago

azgaviperr commented 2 years ago

I got a few use case that may need some kind of webpage that works like a form. Once the form is made a webhook trigger is sent on a specific workflow.

Thoses pages could be accessible with or without authentication ( internal / External).

The idea is for example to request a list of access on specific device for a PAM. Or to declare an incident and generate automatically the alert on Thehive. But this could lead to more use cases.

This form should be able to handle list (maybe from cache, files or database)

frikky commented 2 years ago

Heyo! This is a good idea, but the way I thought about it was without the webhook section, and instead just focus on the execution arguments.

I'm thinking a lot about payment checkout pages when I think about this for some reason. We'll have a plan for it soon~

frikky commented 1 year ago

image

image

UI like that, where the important steps are tracked in the frontend to see if everything went ok or not

jaygohil-cyber commented 1 year ago

For folks who are here for Github Octernship, before you do anything: β€’ Read how to submit the assignment under Task Submission in the assignment very carefully before doing anything. β€’ Make sure you keep your work private and follow the instructions.

DUMBANIKET commented 1 year ago

hey there this is my first time for octern , but as per the assignment we have to create a webpage (which may have authentication just so to authorize users) , after that user may login , create their forms and once created they can share it with others (either public or private) and if someone does some activities the workflow will be triggered as per the case in the assignment :) m i going in the right way or is there something m going wrong ?

DYNAMICMORTAL commented 1 year ago

hey this is my first time for Octern too, I have a query if I create a form that is either public or private to create a workflow trigger in Shuffle so we do the auth or just the form? Second the form should trigger a workflow according to the task, so the workflow output should be seen in the form or not?

An0nym0usAng3l commented 1 year ago

Urgent request: I need clarification on the octernship task at hand.

The objective is to develop a form that can function independently.

The form should be available to everyone and hosted on a platform.

Additionally, the form should initiate a workflow when it's submitted or any other action is performed.

Lastly, please submit the files for this form (React project) under 'assignment_files' in the repository that the classroom bot created."

An0nym0usAng3l commented 1 year ago

Hi @frikky , for people that are here for the GitHub octernship. There are a few comments that needs your attention. Please

An0nym0usAng3l commented 1 year ago

For folks who are here for Github Octernship, before you do anything: β€’ Read how to submit the assignment under Task Submission in the assignment very carefully before doing anything. β€’ Make sure you keep your work private and follow the instructions.

@jaygohil-cyber Thank you for this. But the submission process is still not clear πŸ˜”.

DUMBANIKET commented 1 year ago

Urgent request: I need clarification on the octernship task at hand.

The objective is to develop a form that can function independently.

The form should be available to everyone and hosted on a platform.

Additionally, the form should initiate a workflow when it's submitted or any other action is performed.

Lastly, please submit the files for this form (React project) under 'assignment_files' in the repository that the classroom bot created."

I think we have to create the web app ourselves

jaygohil-cyber commented 1 year ago

hey there this is my first time for octern , but as per the assignment we have to create a webpage (which may have authentication just so to authorize users) , after that user may login , create their forms and once created they can share it with others (either public or private) and if someone does some activities the workflow will be triggered as per the case in the assignment :) m i going in the right way or is there something m going wrong ?

Correct. You need not worry about authentication, Shuffle already does that. Focus on building a form creator + trigger something in a Shuffle workflow (maybe start the workflow, or stop it, or send a request, ANYTHING).

jaygohil-cyber commented 1 year ago

hey this is my first time for Octern too, I have a query if I create a form that is either public or private to create a workflow trigger in Shuffle so we do the auth or just the form? Second the form should trigger a workflow according to the task, so the workflow output should be seen in the form or not?

No auth required. And no need to show output of workflow in the form. Just make sure any specific action inside form triggers something specific in any specific workflow.

jaygohil-cyber commented 1 year ago

For folks who are here for Github Octernship, before you do anything: β€’ Read how to submit the assignment under Task Submission in the assignment very carefully before doing anything. β€’ Make sure you keep your work private and follow the instructions.

@jaygohil-cyber Thank you for this. But the submission process is still not clear πŸ˜”.

Sure, let me know what's unclear.

jaygohil-cyber commented 1 year ago

Urgent request: I need clarification on the octernship task at hand. The objective is to develop a form that can function independently. The form should be available to everyone and hosted on a platform. Additionally, the form should initiate a workflow when it's submitted or any other action is performed. Lastly, please submit the files for this form (React project) under 'assignment_files' in the repository that the classroom bot created."

I think we have to create the web app ourselves

@An0nym0usAng3l you still have any question?

PS: The web app should be inside Shuffle.

An0nym0usAng3l commented 1 year ago

For folks who are here for Github Octernship, before you do anything: β€’ Read how to submit the assignment under Task Submission in the assignment very carefully before doing anything. β€’ Make sure you keep your work private and follow the instructions.

@jaygohil-cyber Thank you for this. But the submission process is still not clear πŸ˜”.

Sure, let me know what's unclear.

For the submission, How do we submit our private repo(the repo we cloned and worked) or can we just push to the repo that was generated from https://github.com/GitHub-Octernships/Shuffle-Frontend-Developer-Software-Engineering

An0nym0usAng3l commented 1 year ago

Urgent request: I need clarification on the octernship task at hand. The objective is to develop a form that can function independently. The form should be available to everyone and hosted on a platform. Additionally, the form should initiate a workflow when it's submitted or any other action is performed. Lastly, please submit the files for this form (React project) under 'assignment_files' in the repository that the classroom bot created."

I think we have to create the web app ourselves

@An0nym0usAng3l you still have any question?

PS: The web app should be inside Shuffle.

This is what i did, Please kindly tell if its wrong and how to fix itπŸ˜ͺ

jaygohil-cyber commented 1 year ago

For folks who are here for Github Octernship, before you do anything: β€’ Read how to submit the assignment under Task Submission in the assignment very carefully before doing anything. β€’ Make sure you keep your work private and follow the instructions.

@jaygohil-cyber Thank you for this. But the submission process is still not clear πŸ˜”.

Sure, let me know what's unclear.

For the submission, How do we submit our private repo(the repo we cloned and worked) or can we just push to the repo that was generated from https://github.com/GitHub-Octernships/Shuffle-Frontend-Developer-Software-Engineering

I think I answered that on our Discord a while ago... How about this, you (and everyone in this discussion) join our Discord and head to #Octernship thread inside #general channel, y'all should have answer to most of your questions there.

jaygohil-cyber commented 1 year ago

Urgent request: I need clarification on the octernship task at hand. The objective is to develop a form that can function independently. The form should be available to everyone and hosted on a platform. Additionally, the form should initiate a workflow when it's submitted or any other action is performed. Lastly, please submit the files for this form (React project) under 'assignment_files' in the repository that the classroom bot created."

I think we have to create the web app ourselves

@An0nym0usAng3l you still have any question? PS: The web app should be inside Shuffle.

This is what i did, Please kindly tell if its wrong and how to fix itπŸ˜ͺ

  • I created the whole web form generator in a new react project i created with vite
  • And the submitting any of the generated form will trigger a workflow in shuffle

It needs to be inside Shuffle! And how are you trigger a workflow in shuffle from a separate project? That's not the usecase we want.

An0nym0usAng3l commented 1 year ago

For folks who are here for Github Octernship, before you do anything: β€’ Read how to submit the assignment under Task Submission in the assignment very carefully before doing anything. β€’ Make sure you keep your work private and follow the instructions.

@jaygohil-cyber Thank you for this. But the submission process is still not clear πŸ˜”.

Sure, let me know what's unclear.

For the submission, How do we submit our private repo(the repo we cloned and worked) or can we just push to the repo that was generated from https://github.com/GitHub-Octernships/Shuffle-Frontend-Developer-Software-Engineering

I think I answered that on our Discord a while ago... How about this, you (and everyone in this discussion) join our Discord and head to #Octernship thread inside #general channel, y'all should have answer to most of your questions there.

The discord invite is invalid.. How do i join? Where can i get the link

jaygohil-cyber commented 1 year ago

Lemme grab a new one for you.

Edit: Here you go https://discord.gg/tYc347HmJF.

prince-63 commented 1 year ago

where I submit my assignment after doing all submission process Repo

LalitDeore commented 1 year ago

@jaygohil-cyber After filling the form when user submit form than he will get email to registed mail id is this accepted or i need to made changes to the submit workflow?