We currently append a campaign identifier to newly created campaigns in GoPhish. This appends -C1, -C2, etc. to the assessment name. We are modifying how we reference these assessments and this is no longer required. Remove the logic that appends this "-CX" identifier.
Motivation and context
The way we will be referencing and naming campaigns will be changing and this is no longer needed.
Ensure the -CX id is no longer added during the setup process.
Acceptance criteria
New campaigns no longer have a "-CX" identifier appended to the name. To test, schedule a new campaign and verify name output upon successful creation.
[x] New campaigns no longer have a "-C{Integer}" identifier appended to the name.
💡 Summary
We currently append a campaign identifier to newly created campaigns in GoPhish. This appends -C1, -C2, etc. to the assessment name. We are modifying how we reference these assessments and this is no longer required. Remove the logic that appends this "-CX" identifier.
Motivation and context
The way we will be referencing and naming campaigns will be changing and this is no longer needed.
Implementation notes
Remove the logic that appends the id here: https://github.com/cisagov/gophish-tools/blob/c0e7d586815dfe867b07caa7838fbbdb31d8a250/src/assessment/builder.py#L152
Ensure the -CX id is no longer added during the setup process.
Acceptance criteria
New campaigns no longer have a "-CX" identifier appended to the name. To test, schedule a new campaign and verify name output upon successful creation.