Jump to content

FileTruncated operation


Recommended Posts

Hi, i wanted to use this operation in exclusion, but it says it does not exist ('TruncateFile' - an unknown operation type). Is there any option to use FileTruncated that i am unable to write correctly? Lets say i tried this exclusion:

<operations>
        <operation type="TruncateFile">
                <operator type="OR">
                    <condition component="DestFileItem" property="Extension" condition="is" value="dce" />
                    <condition component="DestFileItem" property="Extension" condition="is" value="blabla" />
                </operator>
        </operation>
    </operations>

Should that be used in other operation or not allowed at all? Thanks.

truncatefile.png

Link to comment
Share on other sites

  • ESET Staff

"TruncateFile" is an operation which falls under "WriteFile" (yes, annoying that it isn't clearly labeled as such).  But you should be able to modify your exclusion as follows to allow it to work.

 

<operations>
        <operation type="WriteFile">
                <operator type="OR">
                    <condition component="DestFileItem" property="Extension" condition="is" value="dce" />
                    <condition component="DestFileItem" property="Extension" condition="is" value="blabla" />
                </operator>
        </operation>
    </operations>

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...