set_project_survey_by_text
Replace all project survey answers with new text responses in SD Elements, updating security development lifecycle configurations.
Instructions
Set/REPLACE all project survey answers by text. This REPLACES all existing answers with the new ones. Use ONLY when user wants to completely replace all answers. Use add_survey_answers_by_text if user says 'add' or wants to keep existing answers.
If replace_all is True (default), deselects all current answers not in the new list. If False, only selects the new answers without deselecting existing ones.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ID of the project | |
| answer_texts | Yes | List of answer texts to set | |
| replace_all | No | Replace all existing answers | |
| survey_complete | No | Mark survey as complete |