generateCustomSecretMaskingStep generates a custom secret masking step from configuration
(yaml *strings.Builder, step map[string]any, data *WorkflowData)
| 205 | |
| 206 | // generateCustomSecretMaskingStep generates a custom secret masking step from configuration |
| 207 | func (c *Compiler) generateCustomSecretMaskingStep(yaml *strings.Builder, step map[string]any, data *WorkflowData) { |
| 208 | // Record the custom secret masking step for validation |
| 209 | stepName := "Custom secret masking" |
| 210 | if name, ok := step["name"].(string); ok { |
| 211 | stepName = name |
| 212 | } |
| 213 | c.stepOrderTracker.RecordSecretRedaction(stepName) |
| 214 | |
| 215 | // Generate the step YAML |
| 216 | c.renderStepFromMap(yaml, step, data, " ") |
| 217 | } |