Tests/scripts/hook_validations/integration.py
def is_isarray_arguments(self):
        """Check if a reputation command's (domain/email/file/ip/url)
            argument of the same name has the 'isArray' attribute set to True

        Returns:
            bool. Whether 'isArray' is True
        """
        commands = self.current_integration.get('script', {}).get('commands', [])
        for command in commands:
            command_name = command.get('name')
            if command_name in REPUTATION_COMMANDS:
                for arg in command.get('arguments', []):
                    arg_name = arg.get('name')
                    if arg_name == command_name:
                        if arg.get('isArray') is False:
                            self._is_valid = False
                            print_error("The argument '{}' of the command '{}' is not configured with 'isArray' set to True"
                                        .format(arg_name, command_name))
        return self._is_valid
Check if a reputation command's (domain/email/file/ip/url)
            argument of the same name has the 'isArray' attribute set to True

        Returns:
            bool. Whether 'isArray' is True
        
Check if a reputation command's (domain/email/file/ip/url)
argument of the same name has the 'isArray' attribute set to True
Check if a reputation command ' s ( domain / email / file / ip / url ) argument of the same name has the ' isArray ' attribute set to True
def is_isarray_arguments(self):
        commands = self.current_integration.get('script', {}).get('commands', [])
        for command in commands:
            command_name = command.get('name')
            if command_name in REPUTATION_COMMANDS:
                for arg in command.get('arguments', []):
                    arg_name = arg.get('name')
                    if arg_name == command_name:
                        if arg.get('isArray') is False:
                            self._is_valid = False
                            print_error("The argument '{}' of the command '{}' is not configured with 'isArray' set to True"
                                        .format(arg_name, command_name))
        return self._is_valid
def is_isarray_arguments ( self ) : commands = self . current_integration . get ( 'script' , { } ) . get ( 'commands' , [ ] ) for command in commands : command_name = command . get ( 'name' ) if command_name in REPUTATION_COMMANDS : for arg in command . get ( 'arguments' , [ ] ) : arg_name = arg . get ( 'name' ) if arg_name == command_name : if arg . get ( 'isArray' ) is False : self . _is_valid = False print_error ( "The argument '{}' of the command '{}' is not configured with 'isArray' set to True" . format ( arg_name , command_name ) ) return self . _is_valid
Check if a reputation command's (domain/email/file/ip/url)
argument of the same name has the 'isArray' attribute set to True
Check if a reputation command ' s ( domain / email / file / ip / url ) argument of the same name has the ' isArray ' attribute set to True
"""Check if a reputation command's (domain/email/file/ip/url)
            argument of the same name has the 'isArray' attribute set to True

        Returns:
            bool. Whether 'isArray' is True
        """
bool. Whether 'isArray' is True
bool . Whether ' isArray ' is True
self