[OISF/outreachy] Fwd: Task #2879 help needed

megha Varshney varshney.megha070 at gmail.com
Sun Mar 17 18:14:39 UTC 2019


Help needed in task #2879

Greetings,
Do I need to include the following code snippet in build_rule_map function
of the main.py file?
FORMAT = '%(version)s %(message)s'
logging.basicConfig(format=FORMAT)
d={'version: rule'}
logger = logging.getLogger('tcpserver')
logger.warning('Found duplicate rule ID %s', 'keeping one with higher
revision')

Regards,
Megha


On Fri, 15 Mar 2019 at 14:54, megha Varshney <varshney.megha070 at gmail.com>
wrote:

> Thanks a lot. Will try looking for this.
>
> On Fri, 15 Mar 2019 at 14:48, Shivani Bhardwaj <
> sbhardwaj at openinfosecfoundation.org> wrote:
>
>> On Fri, Mar 15, 2019 at 2:38 PM megha Varshney via Outreachy
>> <outreachy at lists.openinfosecfoundation.org> wrote:
>> >
>> > Greetings,
>> > I read the documentation and tried understanding the code snippets but
>> I couldn't get, where do I need to start in order to complete the task
>> assigned.
>> >
>> Maybe this will be helpful to know what sid is:
>>
>> https://suricata.readthedocs.io/en/suricata-4.1.2/rules/meta.html#sid-signature-id
>> As Jason had mentioned in the issue that it has already been
>> implemented, your task is to look up the code of suricata-update and
>> see where sids are being processed for duplicate IDs.
>> Does this make sense?
>>
>> > Regards,
>> > Megha Varshney
>> > _______________________________________________
>> > Outreachy mailing list
>> > Outreachy at lists.openinfosecfoundation.org
>> > https://lists.openinfosecfoundation.org/listinfo/outreachy
>>
>>
>>
>> --
>> Shivani
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/outreachy/attachments/20190317/1277421a/attachment.html>


More information about the Outreachy mailing list