def find_match_scp(self, rule):  
orig_list = []<EOL>orig_list.extend(self.original_command_list)<EOL>binary = orig_list.pop(<NUM_LIT:0>)<EOL>allowed_binaries = ['<STR_LIT>', '<STR_LIT>']<EOL>if binary not in allowed_binaries:<EOL><INDENT>self.logdebug('<STR_LIT>'<EOL>'<STR_LIT>' % binary)<EOL>return<EOL><DEDENT>filepath = orig_list.pop()<EOL>arguments = orig_list<EOL>if '<STR_LIT>' in arguments:<EOL><INDENT>if not rule.get('<STR_LIT>'):<EOL><INDENT>self.logdebug('<STR_LIT>')<EOL>return<EOL><DEDENT><DEDENT>if '<STR_LIT>' in arguments:<EOL><INDENT>if not rule.get('<STR_LIT>'):<EOL><INDENT>self.log('<STR_LIT>')<EOL>return<EOL><DEDENT><DEDENT>if '<STR_LIT>' in arguments:<EOL><INDENT>if not rule.get('<STR_LIT>'):<EOL><INDENT>self.log('<STR_LIT>')<EOL>return<EOL><DEDENT><DEDENT>if '<STR_LIT>' in arguments:<EOL><INDENT>if not rule.get('<STR_LIT>', '<STR_LIT:true>'):<EOL><INDENT>self.log('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>return<EOL><DEDENT><DEDENT>if rule.get('<STR_LIT>'):<EOL><INDENT>files = rule.get('<STR_LIT>')<EOL>if not isinstance(files, list):<EOL><INDENT>files = [files]<EOL><DEDENT>if filepath not in files:<EOL><INDENT>self.log('<STR_LIT>'<EOL>'<STR_LIT>' % (filepath, files))<EOL>return<EOL><DEDENT><DEDENT>return {'<STR_LIT>': self.original_command_list}<EOL>
Handle scp commands.