https://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182021-09-27T16:25:54ZIssue TrackerRudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1460732021-09-27T16:25:54ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul></ul><p>report_message:" my condition was correct!" unless: "my_cmd_audit_true" means report OK if audit is false in plain English. This is self contradictory hence completely confusing.</p> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1460742021-09-27T16:45:05ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul></ul><p>If i understand correctly the message is the same whatever the status</p> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1460752021-09-27T16:46:14ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul></ul><p>Let's drop de the backward definition with multiple negation.<br />A suggestion :</p>
<pre>
report_on(message, condition, status, error_status)
</pre>
<p>Report the message message on condition condition with the status status.</p>
<p>If the condition is not met, report with the status error_status. (with which message ?)</p> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1460762021-09-27T16:49:59ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul></ul><p>But we could instead have a different method :</p>
<pre>
report_audit(subject, compliant_condition, non_compliant_condition)
</pre>
Report and audit message on the subject subject with a compliant, non compliant or error status based on the conditions.
<ul>
<li>true,true -> error</li>
<li>true,false -> compliant</li>
<li>false,true -> non compliant</li>
<li>false,false -> error</li>
</ul>
<p>We could have a report_enforce on the same model with kept_condition,repaired_condition</p> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1460772021-09-27T16:50:28ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul></ul><p>or a report_any which change it mode to audit or enforce based on current mode</p> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1460952021-09-28T12:09:36ZFélix DALLIDET
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In progress</i></li><li><strong>Assignee</strong> set to <i>Félix DALLIDET</i></li></ul> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1460962021-09-28T12:11:13ZFélix DALLIDET
<ul><li><strong>Status</strong> changed from <i>In progress</i> to <i>Pending technical review</i></li><li><strong>Assignee</strong> changed from <i>Félix DALLIDET</i> to <i>Benoît PECCATTE</i></li><li><strong>Pull Request</strong> set to <i>https://github.com/Normation/ncf/pull/1313</i></li></ul><p>PR <a class="external" href="https://github.com/Normation/ncf/pull/1313">https://github.com/Normation/ncf/pull/1313</a></p> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1461502021-10-01T06:05:40ZFélix DALLIDET
<ul><li><strong>Status</strong> changed from <i>Pending technical review</i> to <i>Pending release</i></li></ul><p>Applied in changeset commit:db430bae5341e9b4b5c46fb3813c34a48c6fc314.</p> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1465272021-10-13T15:13:28ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul><li><strong>Project</strong> changed from <i>41</i> to <i>Rudder</i></li><li><strong>Category</strong> changed from <i>Generic methods</i> to <i>Generic methods</i></li></ul> Rudder - User story #20007: We should be able to return an arbitrary report from the technique editorhttps://issues.rudder.io/issues/20007?journal_id=1469872021-10-24T22:06:26ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending release</i> to <i>Released</i></li></ul><p>This bug has been fixed in Rudder 7.0.0~beta2 which was released today.</p>
<ul>
<li><a href="https://docs.rudder.io/changelogs/7.0/index.html#7.0.0~beta2" class="external">7.0.0~beta2 changelog</a></li>
<li><a href="https://docs.rudder.io/reference/7.0/installation/upgrade.html" class="external">Upgrade manual</a></li>
</ul>