Form->create('Feed');?>
Edit MISP Feed

Edit a new MISP feed source.

Form->input('enabled', array()); echo $this->Form->input('name', array( 'div' => 'input clear', 'placeholder' => 'Feed name', 'class' => 'form-control span6', )); echo $this->Form->input('provider', array( 'div' => 'input clear', 'placeholder' => 'Name of the content provider', 'class' => 'form-control span6' )); echo $this->Form->input('url', array( 'div' => 'input clear', 'placeholder' => 'URL of the feed', 'class' => 'form-control span6' )); echo $this->Form->input('source_format', array( 'label' => 'Source Format', 'div' => 'input clear', 'options' => $feed_types, 'class' => 'form-control span6' )); ?>
Form->input('fixed_event', array( 'label' => 'Target Event', 'div' => 'input clear', 'options' => array('New Event Each Pull', 'Fixed Event'), 'class' => 'form-control span6' )); ?>
Form->input('target_event', array( 'label' => 'Target Event ID', 'div' => 'input clear', 'placeholder' => 'Leave blank unless you want to reuse an existing event.', 'class' => 'form-control span6' )); ?>
Form->input('Feed.settings.csv.value', array( 'label' => 'Value field(s) in the CSV', 'title' => 'Select one or several fields that should be parsed by the CSV parser and converted into MISP attributes', 'div' => 'input clear', 'placeholder' => '2,3,4 (column position separated by commas)', 'class' => 'form-control span6' )); ?>
Form->input('Feed.settings.csv.separator', array( 'label' => 'Separator', 'title' => 'Set the default CSV separator (default = ",")', 'div' => 'input clear', 'placeholder' => ',', 'class' => 'form-control span6' )); ?>
Form->input('publish', array( 'label' => 'Auto Publish', 'type' => 'checkbox', 'class' => 'form-control' )); ?>
Form->input('override_ids', array( 'label' => 'Override IDS Flag', 'title' => 'If checked, the IDS flags will always be set to off when pulling from this feed', 'type' => 'checkbox', 'class' => 'form-control' )); ?>
Form->input('delta_merge', array( 'label' => 'Delta Merge', 'title' => 'Merge attributes (only add new attributes, remove revoked attributes)', 'type' => 'checkbox', 'class' => 'form-control' )); ?>
Form->input('distribution', array( 'options' => array($distributionLevels), 'div' => 'input clear', 'label' => 'Distribution', )); ?>
Form->input('tag_id', array( 'options' => $tags, 'label' => 'Default Tag', )); echo $this->Form->input('pull_rules', array('style' => 'display:none;', 'label' => false, 'div' => false)); ?>
Filter rules:
Modify

Form->button('Edit', array('class' => 'btn btn-primary')); echo $this->Form->end(); ?>
element('serverRuleElements/pull'); ?>
element('side_menu', array('menuList' => 'feeds', 'menuItem' => 'edit')); ?>