Skip to content

Commit

Permalink
Merge pull request Privado-Inc#138 from Privado-Inc/rules/messaging-q…
Browse files Browse the repository at this point in the history
…ueues

add : rules for Sqs, Jms, Kafka and rabbit
  • Loading branch information
pandurangpatil authored Feb 23, 2023
2 parents 52cadfb + 94ecfc7 commit 2b604ee
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions rules/sinks/storages/messagingqueue/java.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
sinks:

- id: Messaging.Queue.Kafka.Producer
name: Apache Kafka (Producer)
domains:
- apache.com
patterns:
- "(?i).*(org[.]springframework[.]kafka[.]core[.]KafkaTemplate[.](doSend|send|sendAndReceive|convertAndSend|execute)[:]).*"
tags:

- id: Messaging.Queue.AMQP.Rabbit.Producer
name: RabbitMq (Producer)
domains:
- rabbitmq.com
patterns:
- "(?i).*(org[.]springframework[.]amqp[.]rabbit[.]core[.]RabbitTemplate[.](doSend|send|sendAndReceive|convertAndSend|execute)[:]).*"
tags:

- id: Messaging.Service.JMS.Producer
name: JMS (Producer)
domains:
- springframework.org
patterns:
- "(?i).*(org[.]springframework[.]jms[.]core[.]JmsTemplate[.](doSend|send|sendAndReceive|convertAndSend|execute)[:]|(jakarta[.]jms[.]JMSProducer|javax[.]jms[.]MessageProducer)[.](send|setProperty)[:]).*"
tags:

- id: Messaging.Service.AmazonSQS.Producer
name: Amazon SQS (Producer)
domains:
- amazonaws.com
patterns:
- "(?i).*(com[.]amazonaws[.]services[.]sqs[.](model[.]SendMessageRequest[.](set|with)MessageBody[:]|AmazonSQS[.](sendMessage|sendMessageBatch))).*"
tags:

- id: Messaging.Service.AmazonSQS.Consumer
name: Amazon SQS (Consumer)
domains:
- amazonaws.com
patterns:
- "(?i).*(com[.]amazonaws[.]services[.]sqs[.]AmazonSQS[.](receiveMessage|receiveMessageBatch|deleteMessage|deleteMessageBatch)).*"
tags:

- id: Messaging.Service.JMS.Consumer
name: JMS (Consumer)
domains:
- springframework.org
patterns:
- "(?i).*(org[.]springframework[.]jms[.]core[.]JmsTemplate[.](doReceive|receive)[:]|(jakarta[.]jms[.]JMSConsumer|javax[.]jms[.]MessageConsumer)[.](receive|receiveBody|receiveNoWait|receiveBodyNoWait)[:]).*"
tags:

0 comments on commit 2b604ee

Please sign in to comment.